Comments (5)
@weinand, thanks for porting over. I see you closed the issue, but the resolution is unclear.
from vscode-node-debug.
@martellaj my "Issue Mover" tool closed the issue in the vscode repo and moved it to the vscode-node-debug repo. But here the issue is still open and there is no resolution yet.
from vscode-node-debug.
Oh okay, I could've sworn it was closed here, too. Time to go get ☕. Thanks!
from vscode-node-debug.
@martellaj on a case-sensitive filesystem (e.g. on linux) your setup "foo/app.js" will not work if the file on disk actually lives in a folder "Foo". So I would call your setup at least 'dangerous' (and I was hit by this many times because I develop on a case insensitive file system but run builds on linux).
So from this perspective, I would rather try to flag the case-mismatch of the 'program' attribute as an error than make breakpoints work in this case. In addition another problem lurks around the corner: if you require('App.js')
this will work on a case insensitive filesystem but again the breakpoints in 'app.js' will not be hit, because for node and the debugger the source lives in 'App.js'.
Bottom line: I will not make breakpoint matching case insensitive because it will hide potential problems. Instead I will make the initial case mismatch in your case an error because it will prevent subsequent breakpoints from being hit.
@martellaj what do you think?
from vscode-node-debug.
@weinand I think that's a good solution. Like I said initially, all or nothing is definitely better IMO. 👍
from vscode-node-debug.
Related Issues (20)
- Debug restart, breakpoint will automatically jump to unknown line HOT 4
- "legacy" is still the default for attach
- Local root property in nested config file HOT 1
- Debugging meteor with sourcemaps: package-name with colons crash discovery HOT 6
- Need to ensure that log folder exists HOT 1
- smartStep should only skip unmapped lines in files that have sourcemaps
- Simplify generated launch.json HOT 3
- Cannot embed node-debug in other module layouts HOT 1
- Releases do not contain vsix extention HOT 8
- Support showing numbers as hex HOT 1
- Unable to do npm i HOT 1
- Calculate name for attached processes HOT 1
- debug.node.autoAttach=0 results in high CPU on Windows HOT 2
- autoAttachChildProcesses looses uncaught exception output HOT 1
- Auto Attach not working in VsCode when debugging a simple node js application HOT 2
- Cannot view static variables when debuger is paused HOT 1
- SIGKILL sent instead of SIGINT on stop of Debug HOT 1
- Support Workspace Trust HOT 1
- Support virtual workspaces
- Auto attach fails when pid is greater than 6 digits. HOT 1
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-node-debug.