How to start debug mode from command prompt for apache tomcat server?

前端 未结 9 2054
情深已故
情深已故 2020-12-02 05:11

I want to start debug mode for my application. But I need to start the debug mode from command prompt. Is it possible ? And will the procedure vary between tomcat 5.5 to tom

9条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-02 05:31

    A short answer is to add the following options when the JVM is started.

    JAVA_OPTS=" $JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8080"
    

提交回复
热议问题