A robust starter web application to ease Java webapp development.

Home | Tutorials | Demos | Issues

debug problem

View: New views
2 Messages — Rating Filter:   Alert me  

debug problem

by Anshu Dhamija :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi

            How can I run my appfuse application in debug mode

Can anyone please help me.

 

Regards

Anshu

 


Re: debug problem

by Allan Ang :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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