Unbound remote ts breakpoint
See original GitHub issueDescribe the bug I run a typescript node app in a local docker container and attach to it for debugging. Breakpoints are always unbound now under the new debugger, however they still get hit and open up the transpiled js file instead.
My config:
{
"type": "node",
"request": "attach",
"name": "Docker Attach",
"address": "0.0.0.0",
"port": 9995,
"localRoot": "${workspaceFolder}",
"remoteRoot": "/app",
"outFiles": [
"${workspaceFolder}/build/**/*.js"
],
"skipFiles": [
"<node_internals>/**/*.js",
]
}
Docker container ties ${workspaceFolder}/build
and /app/build
together as a volume mount. Same with ${workspaceFolder}/src
and /app/src
. So I can edit and hot reload with Nodemon.
App is started via node --inspect=0.0.0.0:9995 build/src/index.js
Log File
VS Code Version: Version: 1.49.0 Commit: e790b931385d72cf5669fcefc51cdf65990efa5d Date: 2020-09-10T17:39:53.251Z Electron: 9.2.1 Chrome: 83.0.4103.122 Node.js: 12.14.1 V8: 8.3.110.13-electron.0 OS: Darwin x64 19.5.0
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Unbound breakpoint - VS Code | Chrome | Angular
The fix for this was simple, I hadn't set the sourceMap property to true in angular.json for that particular environment, instead I had ......
Read more >When a Breakpoint Binds or Becomes Unbound
When a breakpoint can't be bound at the time a call is made to the IDebugPendingBreakpoint2::CanBind method, the bind time and create time...
Read more >Debugger Extension - Visual Studio Code
Mock Debug simulates a debugger and supports step, continue, breakpoints, ... However, Mock Debug has a small src/extension.ts because it illustrates what ...
Read more >Debugging Angular with VS Code & Setting Breakpoints
It's really easy to set up and debug your Angular project with Visual Studio Code. This video covers just how simple the process...
Read more >“Unbound breakpoint” on running Node.js project.
But, if you tried to set a breakpoint in your client-side code same time, it would be just grey unfilled circle with “Unbound...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, thanks for confirming, I’ll put a fix in for the next release.
Hey yeah that makes it work again!