diff --git a/package.json b/package.json index 3d1149d0..a05a4894 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "enabledApiProposals": [ "portsAttributes", "contribIssueReporter", - "debugVisualization" + "debugVisualization", + "contribViewsWelcome" ], "license": "MIT", "homepage": "https://github.com/Microsoft/vscode-python-debugger", @@ -521,6 +522,13 @@ "id": "inlineHexDecoder", "when": "debugConfigurationType == 'debugpy' && (variableType == 'float' || variableType == 'int')" } + ], + "viewsWelcome": [ + { + "view": "debug", + "contents": "\n[Show automatic Python configurations](command:workbench.action.debug.selectandstart?%5B%22debugpy%22%5D)\n", + "when": "dynamicPythonConfigAvailable" + } ] }, "extensionDependencies": [ diff --git a/src/extension/extensionInit.ts b/src/extension/extensionInit.ts index deb662b4..760644cb 100644 --- a/src/extension/extensionInit.ts +++ b/src/extension/extensionInit.ts @@ -206,5 +206,11 @@ export async function registerDebugger(context: IExtensionContext): Promise