Debug Jboss 7.x with intellij idea

I am trying to debug an application on my macbook pro (os Mountain Lion). But when I click on debugging, it warns that: unable to connect localhost 4010 . I set the port to 4010 on jboss. Here is the result when starting the application.

 Listening for transport dt_socket at address: 4010 

About Yidea; settings for debugging - this is a "remote server" Remote connection settings;

 host : localhost port : 4010 

The config ss1The config ss2

+4
source share
2 answers

Most likely you are using the debug port for the HTTP port:

HTTP port

Debugger port

+4
source

If you just want to connect to the local application server:

  • Open the Run / Debug Configuration window.
  • Add New Configuration - Remote
  • Configuring a port on a Jboss socket port
+3
source

All Articles