1、脚本
1 ENTRYPOINT ["java","-jar","-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=1998","/app.jar"]
2、IDEA设置
JAVA IDEA Debug设置
原文:https://www.cnblogs.com/dszazhy/p/14738193.html