Skip to content

Commit d2a7cb4

Browse files
Remove default justMyCode (microsoft#100)
1 parent ebab1f4 commit d2a7cb4

19 files changed

+0
-30
lines changed

src/extension/debugger/configuration/dynamicdebugConfigurationService.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ export class DynamicPythonDebugConfigurationService implements IDynamicDebugConf
2727
type: DebuggerTypeName,
2828
request: 'launch',
2929
program: '${file}',
30-
justMyCode: true,
3130
});
3231

3332
const djangoManagePath = await DynamicPythonDebugConfigurationService.getDjangoPath(folder);
@@ -39,7 +38,6 @@ export class DynamicPythonDebugConfigurationService implements IDynamicDebugConf
3938
program: `${workspaceFolderToken}${path.sep}${djangoManagePath}`,
4039
args: ['runserver'],
4140
django: true,
42-
justMyCode: true,
4341
});
4442
}
4543

@@ -56,7 +54,6 @@ export class DynamicPythonDebugConfigurationService implements IDynamicDebugConf
5654
},
5755
args: ['run', '--no-debugger', '--no-reload'],
5856
jinja: true,
59-
justMyCode: true,
6057
});
6158
}
6259

@@ -70,7 +67,6 @@ export class DynamicPythonDebugConfigurationService implements IDynamicDebugConf
7067
module: 'uvicorn',
7168
args: [`${fastApiPath}:app`, '--reload'],
7269
jinja: true,
73-
justMyCode: true,
7470
});
7571
}
7672

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ export async function buildDjangoLaunchDebugConfiguration(
3131
program: program || defaultProgram,
3232
args: ['runserver'],
3333
django: true,
34-
justMyCode: true,
3534
};
3635
if (!program) {
3736
const selectedProgram = await input.showInputBox({

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ export async function buildFastAPILaunchDebugConfiguration(
2727
module: 'uvicorn',
2828
args: ['main:app', '--reload'],
2929
jinja: true,
30-
justMyCode: true,
3130
};
3231

3332
if (!application) {

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ export async function buildFileLaunchDebugConfiguration(
2121
request: 'launch',
2222
program: '${file}',
2323
console: 'integratedTerminal',
24-
justMyCode: true,
2524
};
2625
sendTelemetryEvent(EventName.DEBUGGER_CONFIGURATION_PROMPTS, undefined, {
2726
configurationType: DebugConfigurationType.launchFastAPI,

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export async function buildFileWithArgsLaunchDebugConfiguration(
2222
program: '${file}',
2323
console: 'integratedTerminal',
2424
args: '${command:pickArgs}',
25-
justMyCode: true,
2625
};
2726
sendTelemetryEvent(EventName.DEBUGGER_CONFIGURATION_PROMPTS, undefined, {
2827
configurationType: DebugConfigurationType.launchFileWithArgs,

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ export async function buildFlaskLaunchDebugConfiguration(
3232
},
3333
args: ['run', '--no-debugger', '--no-reload'],
3434
jinja: true,
35-
justMyCode: true,
3635
};
3736

3837
if (!application) {

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ export async function buildModuleLaunchConfiguration(
2121
type: DebuggerTypeName,
2222
request: 'launch',
2323
module: DebugConfigStrings.module.snippet.default,
24-
justMyCode: true,
2524
};
2625
const selectedModule = await input.showInputBox({
2726
title: DebugConfigStrings.module.enterModule.title,

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export async function buildPidAttachConfiguration(
2020
type: DebuggerTypeName,
2121
request: 'attach',
2222
processId: '${command:pickProcess}',
23-
justMyCode: true,
2423
};
2524
sendTelemetryEvent(EventName.DEBUGGER_CONFIGURATION_PROMPTS, undefined, {
2625
configurationType: DebugConfigurationType.pidAttach,

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ export async function buildPyramidLaunchConfiguration(
3333
args: [iniPath || defaultIni],
3434
pyramid: true,
3535
jinja: true,
36-
justMyCode: true,
3736
};
3837

3938
if (!iniPath) {

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ export async function buildRemoteAttachConfiguration(
3333
remoteRoot: '.',
3434
},
3535
],
36-
justMyCode: true,
3736
};
3837

3938
const connect = config.connect!;

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ suite('Debugging - Configuration Provider Django', () => {
109109
program: 'hello',
110110
args: ['runserver'],
111111
django: true,
112-
justMyCode: true,
113112
};
114113

115114
expect(state.config).to.be.deep.equal(config);
@@ -130,7 +129,6 @@ suite('Debugging - Configuration Provider Django', () => {
130129
program: defaultProgram,
131130
args: ['runserver'],
132131
django: true,
133-
justMyCode: true,
134132
};
135133

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

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ suite('Debugging - Configuration Provider FastAPI', () => {
5555
module: 'uvicorn',
5656
args: ['main:app', '--reload'],
5757
jinja: true,
58-
justMyCode: true,
5958
};
6059

6160
expect(state.config).to.be.deep.equal(config);
@@ -75,7 +74,6 @@ suite('Debugging - Configuration Provider FastAPI', () => {
7574
module: 'uvicorn',
7675
args: ['main:app', '--reload'],
7776
jinja: true,
78-
justMyCode: true,
7977
};
8078

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

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ suite('Debugging - Configuration Provider File', () => {
2525
request: 'launch',
2626
program: '${file}',
2727
console: 'integratedTerminal',
28-
justMyCode: true,
2928
};
3029

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

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ suite('Debugging - Configuration Provider File with Arguments', () => {
2929
program: '${file}',
3030
console: 'integratedTerminal',
3131
args: '${command:pickArgs}',
32-
justMyCode: true,
3332
};
3433

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

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ suite('Debugging - Configuration Provider Flask', () => {
5858
},
5959
args: ['run', '--no-debugger', '--no-reload'],
6060
jinja: true,
61-
justMyCode: true,
6261
};
6362

6463
expect(state.config).to.be.deep.equal(config);
@@ -82,7 +81,6 @@ suite('Debugging - Configuration Provider Flask', () => {
8281
},
8382
args: ['run', '--no-debugger', '--no-reload'],
8483
jinja: true,
85-
justMyCode: true,
8684
};
8785

8886
expect(state.config).to.be.deep.equal(config);
@@ -105,7 +103,6 @@ suite('Debugging - Configuration Provider Flask', () => {
105103
},
106104
args: ['run', '--no-debugger', '--no-reload'],
107105
jinja: true,
108-
justMyCode: true,
109106
};
110107

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

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ suite('Debugging - Configuration Provider Module', () => {
2828
type: DebuggerTypeName,
2929
request: 'launch',
3030
module: DebugConfigStrings.module.snippet.default,
31-
justMyCode: true,
3231
};
3332

3433
expect(state.config).to.be.deep.equal(config);
@@ -47,7 +46,6 @@ suite('Debugging - Configuration Provider Module', () => {
4746
type: DebuggerTypeName,
4847
request: 'launch',
4948
module: 'hello',
50-
justMyCode: true,
5149
};
5250

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

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ suite('Debugging - Configuration Provider File', () => {
2424
type: DebuggerTypeName,
2525
request: 'attach',
2626
processId: '${command:pickProcess}',
27-
justMyCode: true,
2827
};
2928

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

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ suite('Debugging - Configuration Provider Pyramid', () => {
110110
args: ['${workspaceFolder}-development.ini'],
111111
pyramid: true,
112112
jinja: true,
113-
justMyCode: true,
114113
};
115114

116115
expect(state.config).to.be.deep.equal(config);
@@ -131,7 +130,6 @@ suite('Debugging - Configuration Provider Pyramid', () => {
131130
args: ['hello'],
132131
pyramid: true,
133132
jinja: true,
134-
justMyCode: true,
135133
};
136134

137135
expect(state.config).to.be.deep.equal(config);
@@ -155,7 +153,6 @@ suite('Debugging - Configuration Provider Pyramid', () => {
155153
args: [defaultIni],
156154
pyramid: true,
157155
jinja: true,
158-
justMyCode: true,
159156
};
160157

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

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ suite('Debugging - Configuration Provider Remote Attach', () => {
8787
remoteRoot: '.',
8888
},
8989
],
90-
justMyCode: true,
9190
};
9291

9392
expect(state.config).to.be.deep.equal(config);
@@ -121,7 +120,6 @@ suite('Debugging - Configuration Provider Remote Attach', () => {
121120
remoteRoot: '.',
122121
},
123122
],
124-
justMyCode: true,
125123
};
126124

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

0 commit comments

Comments
 (0)