Coder Social home page Coder Social logo

node-chakracore-time-travel-debugger's People

Contributors

mrkmarron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

node-chakracore-time-travel-debugger's Issues

Step-back before recording has started

Setting a breakpoint in the synchronous load code (before recording has started) and then launching a replay session causes the debug session to exit abruptly.

Failing to launch debug session

Upon launching a debug session, I can use breakpoints and step forward with no problem. Trying to step back, however, I get the following error message:

"TTD: Failed to launch time-travel debugging session -- "Could not write TTD trace -- has synchronous module loading completed?"

I this is independent of the code I'm trying to debug, it's any three lines of vanilla Javascript.

My config is very straight forward:

launch.json
        {
            "name": "Time-Travel Live",
            "type": "node-chakracore-time-travel-debugger",
            "request": "launch",
            "program": "${workspaceFolder}/${relativeFile}",
            "cwd": "${workspaceFolder}"
        },
ts-node v7.0.1
node v11.3.0
typescript v3.2.1

There is a similar problem reported here: https://stackoverflow.com/questions/53496629/could-not-write-ttd-trace-has-synchronous-module-loading-completed-nodejs-de

Setting a default port

I'd like to set my application to run with the debugging config from my package.json but I'm not sure how to set up a consistent port for the debugger to attach to.

I tried setting the port in my launch.json config but the debugger then didn't add any args past --tt-debug

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.