Adds debugging mode to netty.