How to add Jboss server in IntelliJ

Basically I wanted to debug my code deployed to JBoss server inside the IDE. This can be achieved by connecting to JBoss server remotely. See the images below.

Make sure when you start JBoss you have made a change in standalone.bat file to enable debug port. Note the debug port as you have to specify it when you create remote configuration in IntelliJ or Eclipse. Start your JBoss Server and then click on the new remote configuration that you created.

enter image description here

enter image description here

enter image description here


First of all You need the Ultimate version: then:

Settings > Build, Executions, Deployment -> Application Servers > "+" > JBOss Server