Skip to content

Remove default justMyCode #100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export class DynamicPythonDebugConfigurationService implements IDynamicDebugConf
type: DebuggerTypeName,
request: 'launch',
program: '${file}',
justMyCode: true,
});

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

Expand All @@ -56,7 +54,6 @@ export class DynamicPythonDebugConfigurationService implements IDynamicDebugConf
},
args: ['run', '--no-debugger', '--no-reload'],
jinja: true,
justMyCode: true,
});
}

Expand All @@ -70,7 +67,6 @@ export class DynamicPythonDebugConfigurationService implements IDynamicDebugConf
module: 'uvicorn',
args: [`${fastApiPath}:app`, '--reload'],
jinja: true,
justMyCode: true,
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export async function buildDjangoLaunchDebugConfiguration(
program: program || defaultProgram,
args: ['runserver'],
django: true,
justMyCode: true,
};
if (!program) {
const selectedProgram = await input.showInputBox({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export async function buildFastAPILaunchDebugConfiguration(
module: 'uvicorn',
args: ['main:app', '--reload'],
jinja: true,
justMyCode: true,
};

if (!application) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export async function buildFileLaunchDebugConfiguration(
request: 'launch',
program: '${file}',
console: 'integratedTerminal',
justMyCode: true,
};
sendTelemetryEvent(EventName.DEBUGGER_CONFIGURATION_PROMPTS, undefined, {
configurationType: DebugConfigurationType.launchFastAPI,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export async function buildFileWithArgsLaunchDebugConfiguration(
program: '${file}',
console: 'integratedTerminal',
args: '${command:pickArgs}',
justMyCode: true,
};
sendTelemetryEvent(EventName.DEBUGGER_CONFIGURATION_PROMPTS, undefined, {
configurationType: DebugConfigurationType.launchFileWithArgs,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export async function buildFlaskLaunchDebugConfiguration(
},
args: ['run', '--no-debugger', '--no-reload'],
jinja: true,
justMyCode: true,
};

if (!application) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export async function buildModuleLaunchConfiguration(
type: DebuggerTypeName,
request: 'launch',
module: DebugConfigStrings.module.snippet.default,
justMyCode: true,
};
const selectedModule = await input.showInputBox({
title: DebugConfigStrings.module.enterModule.title,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export async function buildPidAttachConfiguration(
type: DebuggerTypeName,
request: 'attach',
processId: '${command:pickProcess}',
justMyCode: true,
};
sendTelemetryEvent(EventName.DEBUGGER_CONFIGURATION_PROMPTS, undefined, {
configurationType: DebugConfigurationType.pidAttach,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export async function buildPyramidLaunchConfiguration(
args: [iniPath || defaultIni],
pyramid: true,
jinja: true,
justMyCode: true,
};

if (!iniPath) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export async function buildRemoteAttachConfiguration(
remoteRoot: '.',
},
],
justMyCode: true,
};

const connect = config.connect!;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ suite('Debugging - Configuration Provider Django', () => {
program: 'hello',
args: ['runserver'],
django: true,
justMyCode: true,
};

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

expect(state.config).to.be.deep.equal(config);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ suite('Debugging - Configuration Provider FastAPI', () => {
module: 'uvicorn',
args: ['main:app', '--reload'],
jinja: true,
justMyCode: true,
};

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

expect(state.config).to.be.deep.equal(config);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ suite('Debugging - Configuration Provider File', () => {
request: 'launch',
program: '${file}',
console: 'integratedTerminal',
justMyCode: true,
};

expect(state.config).to.be.deep.equal(config);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ suite('Debugging - Configuration Provider File with Arguments', () => {
program: '${file}',
console: 'integratedTerminal',
args: '${command:pickArgs}',
justMyCode: true,
};

expect(state.config).to.be.deep.equal(config);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ suite('Debugging - Configuration Provider Flask', () => {
},
args: ['run', '--no-debugger', '--no-reload'],
jinja: true,
justMyCode: true,
};

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

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

expect(state.config).to.be.deep.equal(config);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ suite('Debugging - Configuration Provider Module', () => {
type: DebuggerTypeName,
request: 'launch',
module: DebugConfigStrings.module.snippet.default,
justMyCode: true,
};

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

expect(state.config).to.be.deep.equal(config);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ suite('Debugging - Configuration Provider File', () => {
type: DebuggerTypeName,
request: 'attach',
processId: '${command:pickProcess}',
justMyCode: true,
};

expect(state.config).to.be.deep.equal(config);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ suite('Debugging - Configuration Provider Pyramid', () => {
args: ['${workspaceFolder}-development.ini'],
pyramid: true,
jinja: true,
justMyCode: true,
};

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

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

expect(state.config).to.be.deep.equal(config);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ suite('Debugging - Configuration Provider Remote Attach', () => {
remoteRoot: '.',
},
],
justMyCode: true,
};

expect(state.config).to.be.deep.equal(config);
Expand Down Expand Up @@ -121,7 +120,6 @@ suite('Debugging - Configuration Provider Remote Attach', () => {
remoteRoot: '.',
},
],
justMyCode: true,
};

expect(state.config).to.be.deep.equal(config);
Expand Down