File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,21 @@ import { registerLogger, traceError } from './common/log/logging';
88import { sendTelemetryEvent } from './telemetry' ;
99import { EventName } from './telemetry/constants' ;
1010import { IExtensionApi } from './apiTypes' ;
11+ import { commands } from 'vscode' ;
12+ import { getDebugpyPackagePath } from './debugger/adapter/remoteLaunchers' ;
13+
1114
1215export async function activate ( context : IExtensionContext ) : Promise < IExtensionApi | undefined > {
1316 const outputChannel = createOutputChannel ( 'Python Debugger' ) ;
1417 context . subscriptions . push ( outputChannel , registerLogger ( outputChannel ) ) ;
1518 context . subscriptions . push ( registerCommand ( Commands . ViewOutput , ( ) => outputChannel . show ( ) ) ) ;
1619
20+ context . subscriptions . push (
21+ commands . registerCommand ( 'python.getDebugpyPackagePath' , ( ) => {
22+ return getDebugpyPackagePath ( ) ;
23+ } ) ,
24+ ) ;
25+
1726 try {
1827 const api = await registerDebugger ( context ) ;
1928 sendTelemetryEvent ( EventName . DEBUG_SUCCESS_ACTIVATION ) ;
You can’t perform that action at this time.
0 commit comments