# Revision history [back]

Assuming you're talking about Java remote debugging, you can set your SDC_JAVA_OPTS environment variable to -agentlib:jdwp=transport=dt_socket,server=y,address=X,suspend=n (or just append that term if you already have it set). Replace X with the port number you want to use, and after it starts, you should be able to attach a debugger to that port.

Assuming you're talking about Java remote debugging, you can set your SDC_JAVA_OPTS environment variable to to

-agentlib:jdwp=transport=dt_socket,server=y,address=X,suspend=n-Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=5005,suspend=n
 

(or just append that term if you already have it set). Replace X with the port number you want to use, and after it starts, you should be able to attach a debugger to that port.

Assuming you're talking about Java remote debugging, you can set your SDC_JAVA_OPTS environment variable to
-Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=5005,suspend=n

(or just append that term if you already have it set). Replace X with the port number you want to use, and after it starts, you should be able to attach a debugger to that port.