| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Always prefer to write Python code over TypeScript code. Not only does that give us more opportunity to use the extension ourself but it makes it easier for our users to contribute back.
Follow PEP 8 and use Black extension.
Use Prettier.
Do note that building the extension is to discover compiler issues, not to specifically launch the extension in a Development Extension Host window (press F5).
git clone https://github.com/microsoft/vscode-python-debugger
cd vscode-python-debugger
npm ci
python3 -m venv .venv
# Activate the virtual environment as appropriate for your shell, For example, If you're on cmd, you can use...
# ".venv/Scripts/activate.bat"
# On bash/zsh it's ...
source .venv/bin/activate
# The Python code in the extension is formatted using Black.
python3 -m pip install nox
nox --session install_bundled_libsIf you see warnings that The engine "vscode" appears to be invalid., you can ignore these. If python3 is not available for some reason, you can use python instead.
Run the Compile build task from the Run Build Task... command picker (short cut CTRL+SHIFT+B or ⇧⌘B). This will leave build task running in the background and which will re-run as files are edited and saved. You can see the output from either task in the Terminal panel (use the selector to choose which output to look at).
For incremental builds you can use the following commands depending on your needs:
npm run watchSometimes you will need to run npm run clean and even rm -r out. This is especially true if you have added or removed files.
| Back | FazBrowse Home | New Git URL |