打包应用,并远程部署
java -jar -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5006 openai-0.0.1-SNAPSHOT.jar
idea 配置远程调试debug
本地启动远程调试配置
调用接口进入断点:
java -jar -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5006 openai-0.0.1-SNAPSHOT.jar