cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Problem with debug configurating

atemnikov
7-Bedrock

Problem with debug configurating

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.

ACCEPTED SOLUTION

Accepted Solutions

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"/>

View solution in original post

1 REPLY 1

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"/>

Announcements


Top Tags