microsoft / vscode-python

Python extension for Visual Studio Code
https://aka.ms/pvsc-marketplace
MIT License
4.32k stars 1.19k forks source link

Debug flow #18652

Open bamurtaugh opened 2 years ago

bamurtaugh commented 2 years ago

Testing https://github.com/microsoft/vscode-python/issues/18092

image

image

@joyceerhl @karrtikr @kimadeline Although the test plan item came from the vscode-python repo, I thought this flow may be part of GitHub Repositories and/or debugging overall, so filing here. Please let me know if I should file elsewhere or it's already being tracked/considered. Thank you!

joyceerhl commented 2 years ago

Still repros: image

Should the Python extension not contribute launch configurations when in a virtual workspace on desktop?

karrtikr commented 2 years ago

This is where we disable the debug configuration view for virtual workspaces if that's relevant: https://github.com/microsoft/vscode-python/blob/983a8dfd4c8eb524614490b2e63bc894a859cb72/package.json#L1509

brettcannon commented 2 years ago

Do we have the appropriate hooks already to intercept this to suggest people run locally? As Kartik pointed out we can probably disable debugging for virtual workspaces (although it looks like we already do something which is probably what's making the prompt show up to begin with).