Unable to open debugger port in IntelliJ

后端 未结 17 530
爱一瞬间的悲伤
爱一瞬间的悲伤 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:51

    Run your Spring Boot application with the given command to enable debugging on port 6006 while the server is up on port 8090:

    mvn spring-boot:run -Drun.jvmArguments='-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=6006' -Dserver.port=8090
    

提交回复
热议问题