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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.