Commit f6070a1a authored by Aleksei Koziatinskii's avatar Aleksei Koziatinskii Committed by Ali Ijaz Sheikh
Browse files

deps: v8_inspector: console support

When node is running with --inspect flag, default console.log,
console.warn and other methods call inspector console methods in
addition to current behaviour (dump formatted message to stderr and
stdout). Inspector console methods forward message to DevTools and
show up in DevTools Console with DevTools formatters. Inspector
console methods not present on Node console will be added into it.

Only own methods on global.console object will be changed while in a
debugging session. User are still able to redefine it, use
console.Console or change original methods on Console.prototype.

PR-URL: https://github.com/nodejs/node/pull/7988


Reviewed-By: default avatarbnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: default avatarjasnell - James M Snell <jasnell@gmail.com>
Reviewed-By: default avatarofrobots - Ali Ijaz Sheikh <ofrobots@google.com>
parent e40234d6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment