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