diff --git a/js/client-chat.js b/js/client-chat.js index 414948a4b..9b10583fa 100644 --- a/js/client-chat.js +++ b/js/client-chat.js @@ -547,6 +547,12 @@ type: 'modal', htmlMessage: "Extracted team data:
" }); + } else if (target === 'nw') { + try { + nw.Window.get().showDevTools(); + } catch (e) { + this.add('|error|' + e.message); + } } else { this.add('|error|Unknown debug command.'); this.add('|error|Are you looking for /showdebug and /hidedebug?');