diff --git a/toolkit/devtools/server/main.js b/toolkit/devtools/server/main.js index 4e209977846..dcf8b638bfa 100644 --- a/toolkit/devtools/server/main.js +++ b/toolkit/devtools/server/main.js @@ -80,7 +80,9 @@ loadSubScript.call(this, "resource://gre/modules/devtools/DevToolsUtils.js"); function dumpn(str) { if (wantLogging) { - dump("DBG-SERVER: " + str + "\n"); + for (let line of str.split(/\n/g)) { + dump("DBG-SERVER: " + line + "\n"); + } } }