I have also seen this issue and don't understand it. Despite "ms-python.debugpy" being declared in the .devcontainer.json customizations.vscode.extensions it is not installed. I have to manually install