Skip to content

Commit 4bb0056

Browse files
author
Kartik Raj
committed
News entry
1 parent 2e18c44 commit 4bb0056

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

news/2 Fixes/3568.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Using "request": "launch" item in launch.json for debugging sends pathMappings

src/client/debugger/types.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ interface ICommonDebugArguments {
3636
// Show return values of functions while stepping.
3737
showReturnValue?: boolean;
3838
subProcess?: boolean;
39-
}
40-
export interface IKnownAttachDebugArguments extends ICommonDebugArguments {
41-
workspaceFolder?: string;
4239
// An absolute path to local directory with source.
4340
localRoot?: string;
4441
remoteRoot?: string;
4542
pathMappings?: { localRoot: string; remoteRoot: string }[];
43+
}
44+
export interface IKnownAttachDebugArguments extends ICommonDebugArguments {
45+
workspaceFolder?: string;
4646
customDebugger?: boolean;
4747
}
4848

@@ -62,9 +62,6 @@ export interface IKnownLaunchRequestArguments extends ICommonDebugArguments {
6262
env?: Record<string, string | undefined>;
6363
envFile: string;
6464
console?: ConsoleType;
65-
localRoot?: string;
66-
remoteRoot?: string;
67-
pathMappings?: { localRoot: string; remoteRoot: string }[];
6865
}
6966
// tslint:disable-next-line:interface-name
7067
export interface LaunchRequestArguments extends DebugProtocol.LaunchRequestArguments, IKnownLaunchRequestArguments, DebugConfiguration {

0 commit comments

Comments
 (0)