Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hello,
I use Intellij Idea for Windchill customization, and I have got a problem with configurating it for debug, I have created remote debug connection and set "localhost" as a host and "2015" as a port. Then I have added new property to site.xconf, as it is written in two different instructions, compiled it and restarted Windchill.:
<Property name="wt.manager.cmd.MethodServer.nonibm.java.args"
overridable="true"
targetFile="codebase/wt.properties"
value="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=2015"/>
Now, when I am trying to debug my project, i am getting message 'Error running RemoteWindchillConnection: Unable to open debugger port (localhost:2015): java.net.ConnectException "Connection refused: connect"'. What did I do wrong?
Thank you.
Solved! Go to Solution.
Question is closed. Right answer is:
<Property name="wt.manager.cmd.MethodServer.debug.args"
overridable="true"
targetFile="codebase/wt.properties"
value="-Xnoagent -Xdebug -Xrunjdwp:transport=dt_socket,address=2015,server=y,suspend=n"/>
Question is closed. Right answer is:
<Property name="wt.manager.cmd.MethodServer.debug.args"
overridable="true"
targetFile="codebase/wt.properties"
value="-Xnoagent -Xdebug -Xrunjdwp:transport=dt_socket,address=2015,server=y,suspend=n"/>