How to configure debugger in JBoss Developer Studio For EAP 6?

Solution Verified - Updated -

Issue

  • After doing the following steps to debug a project from JBoss Developer Studio

    • Setting JAVA_OPTS in standalone.conf.bat :

      HOST_CONTROLLER_JAVA_OPTS="$HOST_CONTROLLER_JAVA_OPTS -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n"
      

      the following error pops up:

      Failed to connect to remote VM. 
      Connection Refused.
      
  • Why does the debugger not connect to JBoss Developer Studio?

Environment

  • Red Hat JBoss Developer Studio (JBDS)
    • 6.0.0
  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content