How To Debug Smack API (Java XMPP Library)
Smack is an excellent Java XMPP Library. While creating a pubsub broker in XMPP I faced a strange issue where few messages were missing. I then found a simple way to debug the Smack library. Just start your JVM (java) with the following option:
java -Dsmack.debugEnabled=true Class.Name

