nvaccess / vscode-nvda

.vscode config directory preconfigured for the NVDA project repo.
6 stars 4 forks source link

Fix up Python extension recommendations #15

Open SaschaCowley opened 1 month ago

SaschaCowley commented 1 month ago

Currently, our extensions.json lists both ms-python.python and ms-python.vscode-pylance, despite the fact that the Python extension installs Pylance by default. Since the extension works best with the Python Debugger extension installed, we should either:

  1. Remove the explicit recommendation of Pylance, and just rely on the other extensions recommended by the Python extension; or
  2. Add Python Debugger to the recommendations to make our recommendation explicit.
seanbudd commented 1 month ago

Is the python debugger extension useful/accessible?

michaelDCurran commented 1 month ago

Is the python debugger extension useful/accessible? Absolutely. It is required to run debug sessions in VS Code for Python projects, including break points, call stacks, watching variables, runtime execution of Python code within the debugged process.

SaschaCowley commented 1 month ago

As Mick has said, yes. Additionally it's required (if you want to debug Python) for the remote debugging method I'm writing up. I can open a PR to include everything required for that method (launch.json and changes to extensions.json) all at once if that's preferable.