我在linux(fedora)上装了idea debug工程,但是报 ERROR: Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options. 主要是调试器加了 xrunjdwp:transport=dt_socket 但是在idea中是无法去掉这个配置到。具体到方法是在 $jboss_home/bin/run.sh 中,去除
JAVA_OPTS="$JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
这个配置idea已经自动帮你加了。