Remote Debugging the TC Server
Enabling Remote Debugging on TC server is Quite simple.
Step 1: Enable remote debugging on the server and restart the server.
Open setenv.bat (or .sh) in any text editor.File can be found at path-vmware-tc-sever\bin\setenv.bat.
add these arguments to JVM_DEBUG_OPTS
set JVM_DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8003,server=y,suspend=n Add %JVM_DEBUG_OPTS% to JAVA_OPTS Eg: JVM_OPTS=%GENERAL_JVM_OPTS% %SUN_JVM_OPTS% %JVM_DEBUG_OPTS% After making the above changes Step 2: Run this command and make sure the server is listening |
Step 3: Enable the remote Debugging in Eclipse
Happy Debugging :).
|
Comments
Post a Comment