paste it to the startup.bat or copy startup.bat to debug.bat and paste
u can change the port 5005 to other
----------------
set CATALINA_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
本文介绍如何通过修改启动脚本设置来启用Tomcat的远程调试功能。具体操作包括使用特定参数启动Java应用程序以便与调试器连接,允许调试工具在指定端口上监听,并确保应用程序在调试器附着后继续运行。
paste it to the startup.bat or copy startup.bat to debug.bat and paste
u can change the port 5005 to other
----------------
set CATALINA_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
1021
2098

被折叠的 条评论
为什么被折叠?