Smack Enhanced Debugger

If you wish to use the Smack Enhanced Debugger, make sure you enable the debugger in ConnectionConfiguration, and add smackx-debug-*.jar to your classpath. Here’s the code snippet for ConnectionConfiguration:

ConnectionConfiguration config = new ConnectionConfiguration(host, port);
config.setDebuggerEnabled(true);

And here’s the Maven dependency:

<dependency>
	<groupId>org.igniterealtime.smack</groupId>
	<artifactId>smackx-debug</artifactId>
	<version>3.2.1</version>
</dependency>