-
Notifications
You must be signed in to change notification settings - Fork 34.6k
Closed
Labels
debugDebug viewlet, configurations, breakpoints, adapter issuesDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityRequest for new features or functionality
Milestone
Description
- VSCode Version: 1.1.1
- OS Version: Windows 10
Steps to Reproduce:
Given:
./dist/foo.js
./dist/foo.map
./spec/foo.spec.js
./spec/foo.spec.map
./src/foo.ts
./src/foo.spec.ts
- In node launch config...
- set
"outDir": "${workspaceRoot}/dist"
- set breakpoint in foo.ts
- set breakpoint in foo.spec.ts
- Run f5 (node debug)
then:
break-point will resolve for foo.ts
break-point will not resolve for foo.spec.ts
use-case:
I'm outputting source code to both a "dist" and "spec" folder; based on whether the file is *.spec.ts
or not. As a result I have two locations for source mappings. In order to be able to assign breakpoints in both the .ts
and .spec.ts
files I must specify an outDir for VS Code's launch.json. Unfortunately, it does not support multiple directories so I can only pick one at the moment.
Metadata
Metadata
Assignees
Labels
debugDebug viewlet, configurations, breakpoints, adapter issuesDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityRequest for new features or functionality