File tree Expand file tree Collapse file tree 2 files changed +1
-20
lines changed
packages/core/src/codewhisperer Expand file tree Collapse file tree 2 files changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -494,29 +494,9 @@ export async function activate(context: ExtContext): Promise<void> {
494494
495495 // Store the feature instance for later LSP connection
496496 ; ( global as any ) . autoDebugFeature = autoDebugFeature
497- getLogger ( ) . debug ( 'AutoDebug feature stored in global reference' )
498-
499- // Verify storage immediately
500- const storedFeature = ( global as any ) . autoDebugFeature
501- if ( storedFeature ) {
502- getLogger ( ) . debug ( 'AutoDebug feature verification: successfully stored in global reference' )
503-
504- // Additional verification - check if it has the expected methods
505- if ( typeof storedFeature . setLanguageClient === 'function' ) {
506- getLogger ( ) . debug ( 'AutoDebug feature verification: setLanguageClient method available' )
507- } else {
508- getLogger ( ) . warn ( 'AutoDebug feature verification: setLanguageClient method NOT available' )
509- }
510- } else {
511- getLogger ( ) . error ( 'AutoDebug feature verification: NOT found in global reference after storage attempt' )
512- }
513-
514497 // Add the feature to extension subscriptions for proper cleanup
515498 context . extensionContext . subscriptions . push ( autoDebugFeature )
516- getLogger ( ) . debug ( 'AutoDebug feature added to extension subscriptions' )
517499 } catch ( error ) {
518- getLogger ( ) . error ( 'Failed to activate AutoDebug feature: %s' , error )
519- // Don't throw the error to prevent extension activation failure
520500 getLogger ( ) . warn ( 'Continuing extension activation despite AutoDebug feature failure' )
521501 }
522502}
Original file line number Diff line number Diff line change 1+ Subproject commit 45195aa43333c788cfb81bc540467ad25397919c
You can’t perform that action at this time.
0 commit comments