tomcat set up a remote listening port (linux & windows)

. 1, Linxu system : bin at the beginning apach / / startup.sh added the following:
DECLARE the -X-the CATALINA_OPTS = "- Server -Xdebug -Xnoagent -Djava.compiler = NONE -Xrunjdwp: Transport the dt_socket =, Y = Server, Suspend = n, address = 8081 "

2, the Windows system : bin at the beginning apach / / startup.bat added the following:
the SET -Xdebug -Xnoagent -Djava.compiler the CATALINA_OPTS = -server = NONE -Xrunjdwp: Transport the dt_socket =, Y = Server, = n-Suspend, address = 8081

Guess you like

Origin www.cnblogs.com/sung1024/p/11391907.html