Skip to content

Commit 4c2f1ac

Browse files
do not modify justMyCode arg
1 parent 2a6608c commit 4c2f1ac

File tree

4 files changed

+0
-17
lines changed

4 files changed

+0
-17
lines changed

src/client/debugger/extension/configuration/resolvers/attach.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,10 @@ export class AttachConfigurationResolver extends BaseConfigurationResolver<Attac
4343
// Connect and listen cannot be mixed with host property.
4444
debugConfiguration.host = 'localhost';
4545
}
46-
if (debugConfiguration.justMyCode === undefined) {
47-
// Populate justMyCode using debugStdLib
48-
debugConfiguration.justMyCode = !debugConfiguration.debugStdLib;
49-
}
5046
debugConfiguration.showReturnValue = debugConfiguration.showReturnValue !== false;
5147
// Pass workspace folder so we can get this when we get debug events firing.
5248
debugConfiguration.workspaceFolder = workspaceFolder ? workspaceFolder.fsPath : undefined;
5349
const debugOptions = debugConfiguration.debugOptions!;
54-
if (!debugConfiguration.justMyCode) {
55-
AttachConfigurationResolver.debugOption(debugOptions, DebugOptions.DebugStdLib);
56-
}
5750
if (debugConfiguration.django) {
5851
AttachConfigurationResolver.debugOption(debugOptions, DebugOptions.Django);
5952
}

src/client/debugger/extension/configuration/resolvers/launch.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,7 @@ export class LaunchConfigurationResolver extends BaseConfigurationResolver<Launc
145145
if (!Array.isArray(debugConfiguration.debugOptions)) {
146146
debugConfiguration.debugOptions = [];
147147
}
148-
if (debugConfiguration.justMyCode === undefined) {
149-
// Populate justMyCode using debugStdLib
150-
debugConfiguration.justMyCode = !debugConfiguration.debugStdLib;
151-
}
152148
const debugOptions = debugConfiguration.debugOptions!;
153-
if (!debugConfiguration.justMyCode) {
154-
LaunchConfigurationResolver.debugOption(debugOptions, DebugOptions.DebugStdLib);
155-
}
156149
if (debugConfiguration.stopOnEntry) {
157150
LaunchConfigurationResolver.debugOption(debugOptions, DebugOptions.StopOnEntry);
158151
}

src/client/debugger/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ export enum DebugOptions {
1111
RedirectOutput = 'RedirectOutput',
1212
Django = 'Django',
1313
Jinja = 'Jinja',
14-
DebugStdLib = 'DebugStdLib',
1514
Sudo = 'Sudo',
1615
Pyramid = 'Pyramid',
1716
FixFilePathCase = 'FixFilePathCase',

src/client/testing/common/debugLauncher.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,6 @@ export class DebugLauncher implements ITestDebugLauncher {
143143
) {
144144
// cfg.pythonPath is handled by LaunchConfigurationResolver.
145145

146-
// Default value of justMyCode is not provided intentionally, for now we derive its value required for launchArgs using debugStdLib
147-
// Have to provide it if and when we remove complete support for debugStdLib
148146
if (!cfg.console) {
149147
cfg.console = 'internalConsole';
150148
}

0 commit comments

Comments
 (0)