Skip to content

Commit 41cb64a

Browse files
committed
debug: some configuration attributes are optional.
1 parent d7214d7 commit 41cb64a

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

  • src/vs/workbench/parts/debug/common

src/vs/workbench/parts/debug/common/debug.ts

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -151,29 +151,29 @@ export enum State {
151151

152152
export interface IGlobalConfig {
153153
version: string;
154-
debugServer: number;
154+
debugServer?: number;
155155
configurations: IConfig[];
156156
}
157157

158158
export interface IConfig {
159-
name: string;
159+
name?: string;
160160
type: string;
161161
request: string;
162-
program: string;
163-
stopOnEntry: boolean;
164-
args: string[];
165-
cwd: string;
166-
runtimeExecutable: string;
167-
runtimeArgs: string[];
168-
env: { [key: string]: string; };
169-
sourceMaps: boolean;
170-
outDir: string;
171-
address: string;
172-
port: number;
173-
preLaunchTask: string;
174-
externalConsole: boolean;
175-
debugServer: number;
176-
extensionHostData: any;
162+
program?: string;
163+
stopOnEntry?: boolean;
164+
args?: string[];
165+
cwd?: string;
166+
runtimeExecutable?: string;
167+
runtimeArgs?: string[];
168+
env?: { [key: string]: string; };
169+
sourceMaps?: boolean;
170+
outDir?: string;
171+
address?: string;
172+
port?: number;
173+
preLaunchTask?: string;
174+
externalConsole?: boolean;
175+
debugServer?: number;
176+
extensionHostData?: any;
177177
}
178178

179179
export interface IRawEnvAdapter {

0 commit comments

Comments
 (0)