admin管理员组文章数量:1356831
I have java application started remotely(spring boot). We have gitlab pipeline which generates deb package and starts it on Ubuntu OS.
I can do some things with that environment. For example restart:
sudo systemctl restart myapp.service
Now I want to enable remote debug of that application. But How can I restart it with debug enabled ?
I know that I have to write somewhere:
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000
But I don't know where. Could you please clarify ? I suppose that this line has to be added somewhere here:
本文标签: spring bootHow to enable remote debug in java app wrapped to deb packageStack Overflow
版权声明:本文标题:spring boot - How to enable remote debug in java app wrapped to deb package? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744047457a2581792.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论