Giter Club home page Giter Club logo

Comments (8)

connor4312 avatar connor4312 commented on June 14, 2024 1

Yea, it works with sourcemaps as well for me (using the helloworld-sample).

from vscode-js-debug.

connor4312 avatar connor4312 commented on June 14, 2024 1

Can you use "trace": { "logFile": "${workspaceFolder}/log.txt" } so that logs are saved as a plain .txt file, and share those here? That may provide a hint.

from vscode-js-debug.

connor4312 avatar connor4312 commented on June 14, 2024

I'm not able to repro this.

image

Unfortunately it looks like the log files didn't get recorded correctly. Can you use "trace": { "logFile": "${workspaceFolder}/log.txt" } so that logs are saved as a plain .txt file, and share those here?

from vscode-js-debug.

JustinGrote avatar JustinGrote commented on June 14, 2024

@connor4312 thanks for taking a look, I'll give it another shot and produce a fresh repo repository. Are you sure you're using sourcemaps here? I don't see a sourcemap file in your repo screenshot

from vscode-js-debug.

JustinGrote avatar JustinGrote commented on June 14, 2024

So I'm still getting it with a fresh "host" profile and debug configs for profile and profile-temp using helloworld-sample. Wondering if it's something about my computer specifically (Windows), let me try it in a codespace.

from vscode-js-debug.

JustinGrote avatar JustinGrote commented on June 14, 2024

OK so I can't reproduce in a fresh codespaces with helloworld-sample, but one thing interesting I noticed is that the breakpoint doesn't bind until the extension activates. Is this normal or expected? I could see this being super confusing and this might be where I got hung up in I didn't see the breakpoint bind but didn't actually try to run the specific code.

Also it's not super clear from this video but I've tried also waiting quite a while for the breakpoint to bind, it stays gray all the way up to running the command and then suddenly hits.

Video:

Video.mp4

Here's the log:
log.zip

from vscode-js-debug.

JustinGrote avatar JustinGrote commented on June 14, 2024

That being said, I'm not reproducing this in sample-helloworld so I'll see if I can reproduce where I was seeing it and produce a simpler repro. Thanks! I'll open breakpoint as a separate issue.

from vscode-js-debug.

connor4312 avatar connor4312 commented on June 14, 2024

One thing interesting I noticed is that the breakpoint doesn't bind until the extension activates. Is this normal or expected?

Yea, until the runtime acknowledges the breakpoint, it's shown as unbound.

from vscode-js-debug.

Related Issues (20)

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.