JSPM

tracrr

0.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q14899F
  • License MIT

Watches and logs V8 events using the internal programmatic debugger

Package Exports

  • tracrr

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tracrr) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

tracrr

Watches and logs V8 events using the internal programmatic debugger

Usage:

Tracrr = require("lib/tracrr");
Tracrr.logTo(console);

Launch V8 with --expose-debug-as <name> so that Tracrr can access <name>.Debug object from within JavaScript.

Definition in V8 source: expose debug in global object Effect in V8 source: Creates an isolated Debug context that can call across to the main context

Flag can be set from command line (i.e. when launching node), or programmatically (i.e. when embedded as in Titanium Mobile)

This is a mostly undocumented feature of V8 that until now has been exclusively used to run V8's debugger test suite in JS. More documentation coming soon. For hints see source. MIT Licensed. 2013 @doublerebel