Skip to content
This repository was archived by the owner on Oct 2, 2021. It is now read-only.
This repository was archived by the owner on Oct 2, 2021. It is now read-only.

Cannot read property 'mappedPath' of undefined at EagerSourceMapTransformer.setBreakpoints #256

@auchenberg

Description

@auchenberg

From Mike Kaufman

Hey Kenneth – just installed new version of VS code yesterday and now I can’t set breakpoints. I see this in my output:

Debugging with inspector protocol because Node.js v8.6.0 was detected.
node --inspect-brk=40654 src\agent.js
Debugger listening on ws://127.0.0.1:40654/9fe6fed3-1710-4ef6-859f-f9f26d230ecb
Error processing "setBreakpoints": TypeError: Cannot read property 'mappedPath' of undefined
    at EagerSourceMapTransformer.setBreakpoints (c:\Program Files\Microsoft VS Code\resources\app\extensions\ms-vscode.node-debug2\node_modules\vscode-chrome-debug-core\out\src\transformers\baseSourceMapTransformer.js:63:23)
    at validateBreakpointsPath.then (c:\Program Files\Microsoft VS Code\resources\app\extensions\ms-vscode.node-debug2\node_modules\vscode-chrome-debug-core\out\src\chrome\chromeDebugAdapter.js:827:40)
    at <anonymous>

Known issue? We’re generating maps w/ gulp-typescript IIRC, so maybe something w/ how maps are getting gen’d?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions