How do I debug ActiveMQ from my IDE

 FAQ > Developing ActiveMQ > How do I debug ActiveMQ from my IDE

One option is to run your broker in the same JVM as your application; see How To Unit Test JMS Code.

Or you can try uncommenting ACTIVEMQ_DEBUG_OPTS in your activemq start script (bin/activemq or bin\activemq.bat) and start remote debugging in your IDE.

For IDEA, see this article http://www.javaranch.com/journal/200408/DebuggingServer-sideCode.html

Apache ActiveMQ, ActiveMQ, ActiveMQ Artemis, Apache, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. Copyright © 2019, The Apache Software Foundation. Licensed under Apache License 2.0.