Comments (8)
Yea, it works with sourcemaps as well for me (using the helloworld-sample).
from vscode-js-debug.
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.
I'm not able to repro this.
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.
@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.
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.
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.
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.
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)
- Breakpoints unbound, VSCode cannot find source maps HOT 15
- Failed to start inspector port on WSL 2 mirrored network HOT 3
- Fix preview rendering of number '0' when 'description' is not set. HOT 2
- Breakpoints not set properly when running with vitest HOT 3
- When `NODE_OPTIONS` is configured for a dev container, js-debug interferes with it
- debugger not working
- Easier way to jump to function definitions in debug log.
- VS Code built-in extension breakpoints could not be set. HOT 3
- When the Debug for Chrome plugin is running, the browser plugin is gone HOT 7
- Resolve executables in node_modules/.bin directly HOT 1
- Electron render Typescript debugging breakpoints work in vscode natively, but not inside a dev container HOT 4
- Error on vscode js debug terminal HOT 1
- Support external terminal option HOT 2
- Some of your breakpoints could not be set (greyed out) HOT 5
- added "sourceMap": true, to tsconfig still get issue HOT 1
- Unbound breakpoint HOT 1
- Support new `runtimeExecutable: "mocha"` in launch template
- The split2 module is very slow when handling large amounts of CDP data HOT 2
- Debugger may hang if a firewall is active HOT 7
- Unable to Build. TypeError: Cannot assign to read only property 'atime' of object '#<Stats>' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-js-debug.