Re: Remote debug with IntelliJ part 2
Posted By:
Eugene_Zhuravlev
Posted On:
Monday, June 10, 2002 12:12 AM
Hi Brian,
In order to attach with IDEA to already running process, just create a "Remote" run configuration in "File | Project Properties | Run/Debug". Then start the remote process with the VM parameters mentioned in the Remote configuration dialog, for example
-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
This assumes that you will connect to the debuggee using port 5005. After the process you want to debug is running, you can attach to it with IDEA's debugger by invoking "Debug" action (the "Remote" run configuration you created should be the active run/debug configuration).
Best regards,
Eugene Zhuravlev
JetBrains, Inc / IntelliJ Software, http://www.intellij.com
"Develop with pleasure!"