Unable to open debugger port in IntelliJ

后端 未结 17 655
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-29 17:54

Unable to open debugger port in intellij. The port number 9009 matches the one which has been set in the configuration file for the application.



        
17条回答
  •  南方客
    南方客 (楼主)
    2020-12-29 18:48

    Set the MAVEN_OPTS. It should work !!

    export MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n"

    mvn spring-boot:run -Dserver.port=8090

提交回复
热议问题