Thursday, September 18, 2008

Remotely debug your app in Eclipse or Idea

When i needed to debug the app remotely, i needed to put
-Xdebug -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=y
in cargo.jvmArguments -Xmx512M -XX:MaxPermSize=128m -Xdebug -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=y /cargo.jvmArguments
line in pom.xml. (I'm using InteliJIdea).

useful links:
http://raibledesigns.com/rd/entry/remotely_debug_your_app_in
http://java.sun.com/j2se/1.4.2/docs/guide/jpda/conninv.html
http://lists.nuxeo.com/pipermail/ecm-checkins/2006-December/002644.html

No comments: