Unable to open debugger port in IntelliJ

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

    This one worked for me-- If the issue still persists (in case you are not using a glassFish server), then close your JIdea and stop the server. This will disable the ports connectivity. Then start your server and JIdea, this will start fresh connectivity with the ports, resolving the issue.

    0 讨论(0)
  • 2020-12-29 18:39
    1. In glassfish\domains\domain1\config\domain.xml set before start server:

          <java-config classpath-suffix="" debug-options="-agentlib:jdwp=transport=dt_socket,address=9009,server=y,suspend=n" java-home="C:\Program Files\Java\jdk1.8.0_162" debug-enabled="true" system-classpath="">

    or set debug-enabled="true" server=y,suspend=n in http://localhost:4848/common/index.jsf

    1. In current Idea 2018 - Server Run Configuration - Debug - Port - address
    0 讨论(0)
  • 2020-12-29 18:40

    Merely hitting the debug icon again fixed my problem in a few seconds.

    0 讨论(0)
  • 2020-12-29 18:42

    I had the same issue, I just have to remove the HTTP protocol from the URL. That's it.

    I hope it works for you.

    0 讨论(0)
  • Your Service/ Application might already be running. In Search enter Services and you will get list of services. Stop yours and then try again.

    0 讨论(0)
  • 2020-12-29 18:45

    Answer is pretty simple, I also faced the problem finally I got perfect solution. Create Debug Create Remote debug with following configuration Firstly run by debug. It gives you waitng for socket 5005 then run with remote debug

    0 讨论(0)
提交回复
热议问题