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:
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744047457a4549444.html
评论列表(0条)