本地调试java
直接Debug As 执行Demo会报错:eclipse
ERROR: Cannot load this JVM TI agent twice, check your Java command line for duplicate jdwp options.
Error occurred during initialization of VM
agent library failed to init: jdwpsocket
解决办法:this
编辑Demo.launch.net
找到<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value=" -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n -Dplay.debug=yes ...>debug
将-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n去掉!调试
附加Play源码,便可调试Play自己。server