File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ export namespace Commands {
35
35
export const ViewOutput = 'debugpy.viewOutput' ;
36
36
export const ClearStorage = 'debugpy.clearCacheAndReload' ;
37
37
export const Enable_SourceMap_Support = 'debugpy.enableSourceMapSupport' ;
38
+ export const SelectDebugConfig = 'debugpy.SelectAndInsertDebugConfiguration'
38
39
export const Set_Interpreter = 'python.setInterpreter' ;
39
40
export const GetSelectedInterpreterPath = 'python.interpreterPath' ;
40
41
}
Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ import { ignoreErrors } from './common/promiseUtils';
36
36
37
37
export async function registerDebugger ( context : IExtensionContext ) : Promise < void > {
38
38
const childProcessAttachService = new ChildProcessAttachService ( ) ;
39
-
40
39
const childProcessAttachEventHandler = new ChildProcessAttachEventHandler ( childProcessAttachService ) ;
40
+
41
41
context . subscriptions . push (
42
42
debug . onDidReceiveDebugSessionCustomEvent ( ( e ) => {
43
43
ignoreErrors ( childProcessAttachEventHandler . handleCustomEvent ( e ) ) ;
@@ -108,7 +108,7 @@ export async function registerDebugger(context: IExtensionContext): Promise<void
108
108
const launchJsonUpdaterServiceHelper = new LaunchJsonUpdaterServiceHelper ( debugConfigProvider ) ;
109
109
context . subscriptions . push (
110
110
registerCommand (
111
- 'debugpy.SelectAndInsertDebugConfiguration' ,
111
+ Commands . SelectDebugConfig ,
112
112
launchJsonUpdaterServiceHelper . selectAndInsertDebugConfig ,
113
113
launchJsonUpdaterServiceHelper ,
114
114
) ,
You can’t perform that action at this time.
0 commit comments