@@ -244,7 +244,7 @@ export class JupyterDebugger implements IJupyterDebugger, ICellHashListener {
244244
245245 // Add the settings path first as it takes precedence over the ptvsd extension path
246246 // tslint:disable-next-line:no-multiline-string
247- let settingsPath = this . configService . getSettings ( notebook . resource ) . datascience . ptvsdDistPath ;
247+ let settingsPath = this . configService . getSettings ( notebook . resource ) . datascience . debugpyDistPath ;
248248 // Escape windows path chars so they end up in the source escaped
249249 if ( settingsPath ) {
250250 if ( this . platform . isWindows ) {
@@ -376,7 +376,7 @@ export class JupyterDebugger implements IJupyterDebugger, ICellHashListener {
376376 return version . major > required . major || ( version . major === required . major && version . minor >= required . minor ) ;
377377 }
378378
379- @captureTelemetry ( Telemetry . PtvsdPromptToInstall )
379+ @captureTelemetry ( Telemetry . DebugpyPromptToInstall )
380380 private async promptToInstallDebugger (
381381 notebook : INotebook ,
382382 oldVersion : Version | undefined ,
@@ -399,7 +399,7 @@ export class JupyterDebugger implements IJupyterDebugger, ICellHashListener {
399399 await this . installDebugger ( notebook ) ;
400400 } else {
401401 // If they don't want to install, throw so we exit out of debugging
402- sendTelemetryEvent ( Telemetry . PtvsdInstallCancelled ) ;
402+ sendTelemetryEvent ( Telemetry . DebugpyInstallCancelled ) ;
403403 throw new JupyterDebuggerNotInstalledError ( this . debuggerPackage ) ;
404404 }
405405 }
@@ -416,13 +416,13 @@ export class JupyterDebugger implements IJupyterDebugger, ICellHashListener {
416416 const installResultsString = this . extractOutput ( debuggerInstallResults [ 0 ] ) ;
417417
418418 if ( installResultsString && installResultsString . includes ( 'Successfully installed' ) ) {
419- sendTelemetryEvent ( Telemetry . PtvsdSuccessfullyInstalled ) ;
419+ sendTelemetryEvent ( Telemetry . DebugpySuccessfullyInstalled ) ;
420420 traceInfo ( `${ this . debuggerPackage } successfully installed` ) ;
421421 return ;
422422 }
423423 }
424424 traceCellResults ( `Installing ${ this . debuggerPackage } ` , debuggerInstallResults ) ;
425- sendTelemetryEvent ( Telemetry . PtvsdInstallFailed ) ;
425+ sendTelemetryEvent ( Telemetry . DebugpyInstallFailed ) ;
426426 traceError ( `Failed to install ${ this . debuggerPackage } ` ) ;
427427 // Failed to install debugger, throw to exit debugging
428428 throw new JupyterDebuggerNotInstalledError ( this . debuggerPackage ) ;
0 commit comments