for Linux use this in the command prompt before you run jetty:run-war (you
only need to do this once per session)
export MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE 
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"

windows:
replace 'export' with 'set'

then go to your favorite IDE and set a debug configuration with remote
debugging set to port 8000. Naturally if you wish to use other ports then
change the "address=8000" setting to another port that you prefer.

allan



Anshu Dhamija wrote:
> 
> Hi
> 
>             How can I run my appfuse application in debug mode
> 
> Can anyone please help me.
> 
>  
> 
> Regards
> 
> Anshu
> 
>  
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/debug-problem-tp18254828s2369p18304491.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to