• Philip Chimento's avatar
    debugger: GJS Debugger · ee89551e
    Philip Chimento authored
    This adds a simple debugger, adapted from the "jorendb" program in the
    SpiderMonkey source. It has basic stepping, breaking, and printing
    commands, that work like GDB. Activate it by running the GJS console
    interpreter with the -d or --debugger flag _before_ the name of the JS
    program on the command line.
    
    To integrate it into programs that embed the GJS interpreter, call
    gjs_context_setup_debugger_console() before executing the JS program.
    
    It will print when Promises are launched and resolved, although it's not
    yet possible to break at those points.
    
    Closes: #110
    ee89551e
.eslintrc.json 54 Bytes