Revert "Adds debugging mode to netty."

Moving to flag.

This reverts commit b4c330a2722f1bf6f86aad7aaa6e7068beb220df.
Adds debug mode via flag