项目启动添加参数:
-agentlib:jdwp=transport=dt_socket,address=5005,server=y,suspend=n
打开idea中的run/debug configurations, 选择remote类型,地址配置为服务器地址,端口配置为上述配置参数中的address
项目启动添加参数:
-agentlib:jdwp=transport=dt_socket,address=5005,server=y,suspend=n
打开idea中的run/debug configurations, 选择remote类型,地址配置为服务器地址,端口配置为上述配置参数中的address