Numeric Production Mechanism
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    tracrrpublic

    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

    Keywords

    none

    install

    npm i tracrr

    Downloadsweekly downloads

    2

    version

    0.0.4

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar