Bug fix: transport.debug value is ignored

Diagnostic output prints regardless of toggle's value