Wednesday, July 12, 2006

Idea remote debugging

To enable remote debugging in IntelliJ Idea
First create a remote configuration on Idea that you can do remote debugging
The string pattern that will occur will look like this

-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005

and what we need to do is depending on your executable project wither set the JAVA_OPTS variable to the above
and start the project and then
start the debugger on idea

No comments: