How do I debug ActiveMQ Classic from my IDE

 FAQ > Developing ActiveMQ Classic > How do I debug ActiveMQ Classic 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, Apache ActiveMQ, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. Copyright © 2024, The Apache Software Foundation. Licensed under Apache License 2.0.