本人微信公众号"aeolian"~

IDEA远程调试

服务端

打开tomcat下bin/catalina.bat文件,搜索JPDA_ADDRESS,查看远程调试端口

《IDEA远程调试》

然后用catalina jpda start启动tomcat

《IDEA远程调试》

记得开放防火墙端口

IDEA端

Run -> Edit Configurations

《IDEA远程调试》

然后配置服务器IP和端口即可

《IDEA远程调试》

 

点赞

Leave a Reply

Your email address will not be published. Required fields are marked *