From 1b597e874c96ae8dcec8ff978430a13731511068 Mon Sep 17 00:00:00 2001 From: flyinghu <48802940+flyinghu123@users.noreply.github.com> Date: Tue, 5 Mar 2024 12:14:31 +0800 Subject: [PATCH] fix python debugging issues after vscode was updated to version 1.87.0. The visualization failed because the python debug type was changed to "debugpy" after vscode was updated. --- extension/src/VisualizationBackend/PyVisualizationSupport.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/src/VisualizationBackend/PyVisualizationSupport.ts b/extension/src/VisualizationBackend/PyVisualizationSupport.ts index e2ef063..f2e704a 100644 --- a/extension/src/VisualizationBackend/PyVisualizationSupport.ts +++ b/extension/src/VisualizationBackend/PyVisualizationSupport.ts @@ -27,7 +27,7 @@ export class PyEvaluationEngine implements DebugSessionVisualizationSupport { createBackend( session: DebugSessionProxy ): VisualizationBackend | undefined { - const supportedDebugAdapters = ["python"]; + const supportedDebugAdapters = ["python", "debugpy"]; if (supportedDebugAdapters.indexOf(session.session.type) !== -1) { return new PyVisualizationBackend(