To be able to debug a remote wildfly application, the wildfly application must be started using the following arguments:
Run – Debug – Edit Configurations.
In this screen press ‘+’ and choose ‘remote’.
You can name this ‘wildfly remote’ and set the host to the remote server’s ip-addess and set the port to 8787.
By pressing the ‘Debug’ button, a connection to the remote wildfly will be created and you will be able to place breakpoints on the remote wildfly,