wrapper-debug.conf
wrapper.java.additional.34=-Xdebug
wrapper.java.additional.35=-Xnoagent
wrapper.java.additional.36=-Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n
wrapper.java.additional.37=-Ddeployed.server.type=tomcat
Vagrantfile
config.vm.network :private_network, ip: "192.168.56.11"
config.vm.network :forwarded_port, guest: 8000, host: 8000
想法远程连接主机
192.168.56.11
想法远程连接字符串
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000
混合动力开始
sh hybrisserver.sh debug
并且它无法在调试模式下连接。 为什么?什么会解决此问题?