File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,20 @@ 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' ;
1113
1214export async function activate ( context : IExtensionContext ) : Promise < IExtensionApi | undefined > {
1315 const outputChannel = createOutputChannel ( 'Python Debugger' ) ;
1416 context . subscriptions . push ( outputChannel , registerLogger ( outputChannel ) ) ;
1517 context . subscriptions . push ( registerCommand ( Commands . ViewOutput , ( ) => outputChannel . show ( ) ) ) ;
1618
19+ context . subscriptions . push (
20+ commands . registerCommand ( 'python.getDebugpyPackagePath' , ( ) => {
21+ return getDebugpyPackagePath ( ) ;
22+ } ) ,
23+ ) ;
24+
1725 try {
1826 const api = await registerDebugger ( context ) ;
1927 sendTelemetryEvent ( EventName . DEBUG_SUCCESS_ACTIVATION ) ;
You can’t perform that action at this time.
0 commit comments