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

前端 未结 9 2056
情深已故
情深已故 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:18

    If you're wanting to do this via powershell on windows this worked for me

    $env:JPDA_SUSPEND="y"

    $env:JPDA_TRANSPORT="dt_socket"

    /path/to/tomcat/bin/catalina.bat jpda start

提交回复
热议问题