Skip to content

Commit 4d27e65

Browse files
Make "args": "${command:pickArgs}" as default debug configuration (#548)
Co-authored-by: Eleanor Boyd <[email protected]>
1 parent 84ce2f2 commit 4d27e65

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/extension/debugger/configuration/providers/fileLaunchWithArgs.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export async function buildFileWithArgsLaunchDebugConfiguration(
2121
request: 'launch',
2222
program: '${file}',
2323
console: 'integratedTerminal',
24-
args: ['${command:pickArgs}'],
24+
args: '${command:pickArgs}',
2525
};
2626
sendTelemetryEvent(EventName.DEBUGGER_CONFIGURATION_PROMPTS, undefined, {
2727
configurationType: DebugConfigurationType.launchFileWithArgs,

src/test/unittest/configuration/providers/fileLaunchWithArgs.unit.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ suite('Debugging - Configuration Provider File with Arguments', () => {
2828
request: 'launch',
2929
program: '${file}',
3030
console: 'integratedTerminal',
31-
args: ['${command:pickArgs}'],
31+
args: '${command:pickArgs}',
3232
};
3333

3434
expect(state.config).to.be.deep.equal(config);

0 commit comments

Comments
 (0)