Skip to content

inspector: expose original console

Adds require('inspector').console, mapping it to the original global.console of V8. This enables applications to send messages to the inspector console programmatically.

Fixes: https://github.com/nodejs/node/issues/21651

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading