Configuring the server to support debugging

Start the debug agent for the JVM using a user-supplied or default port number. Use sp_jreconfig with these configuration parameters to enable debugging, choose a port number, and specify whether the JVM is immediately suspended:

Once the configuration values enabling the debug agent in the JVM are set, the next time the JVM is started the debug agent is available. To disable the debug agent the debug agent, disable the configuration parameters and restart the JVM (the agent cannot be turned off once the JVM has started with the agent running).

NoteDo not run the debug agent by default. When the debug agent is running, any debug application with network access to the host can potentially connect with the JVM and gain access to object internal data.