-
-
Notifications
You must be signed in to change notification settings - Fork 35.1k
Open
Labels
inspectorIssues and PRs related to the V8 inspector protocolIssues and PRs related to the V8 inspector protocol
Description
- Version: v14.5.0
- Platform: Darwin Kernel Version 19.5.0
- Subsystem: vm
- Chrome Version: 86.0.4207.0
What steps will reproduce the bug?
testcase: https://github.com/denghongcai/node-vm-sourcemap-test-case
I insert a debugger statement in src/index.ts 's sayHello method
not working step (use vm):
npm run build
npm run inspectin devtools, no sourcemap detected

working step (no vm):
npm run build
npm test
npm run inspect-indexseems if vm run code with inline sourcemap, it will not be parsed by chrome devtools?
How often does it reproduce? Is there a required condition?
always
What is the expected behavior?
I expected when debug in devtools, sourcemap will be parsed, displayed correctly
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
inspectorIssues and PRs related to the V8 inspector protocolIssues and PRs related to the V8 inspector protocol