Skip to content

Update python-web.md (small edits for clarity) #5958

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/python/python-web.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ MetaDescription: Run and Debug Python code in the Web.
---
# Run and Debug Python in the Web

We are happy to announce experimental support for running Python code on the Web. To try it out, install the latest pre-release version of the [Experimental - Python for the Web](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-python-web-wasm) extension from the Marketplace.
We are happy to announce **experimental** support for running Python code on the Web. To try it out, install the latest pre-release version of the [Experimental - Python for the Web](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-python-web-wasm) extension from the Marketplace. This work is based on WASM in Python, which is currently in development. To learn more about how it works and the ongoing progress, you can read [Compiling Python to WebAssembly (WASM)](https://pythondev.readthedocs.io/wasm.html).

## Prerequisites

Expand All @@ -18,9 +18,9 @@ The following prerequisites are needed to use the extension:
* You need to have the [GitHub Repositories](https://marketplace.visualstudio.com/items?itemName=GitHub.remotehub) extension installed.
* You need to authenticate with GitHub.
* You need to use a browser that supports [cross-origin isolation](https://developer.chrome.com/docs/extensions/mv3/cross-origin-isolation/). The extension has been tested with the Microsoft Edge and Google Chrome browsers.
* You need to use the insider version of [VS Code for the Web](/docs/editor/vscode-web.md) (e.g. `https://insiders.vscode.dev/`)
* Your source code must either be hosted on a GitHub repository and accessed through the GitHub Repositories extension, or on your local file system.
* When starting [VS Code for the Web](/docs/editor/vscode-web.md), you need to add the following query parameter to the URL: `?vscode-coi=`.
* You need to use the insider version of [VS Code for the Web](/docs/editor/vscode-web.md) (for example `https://insiders.vscode.dev/`)
* Your source code must either be hosted on on your local file system or a GitHub repository that is accessed through the GitHub Repositories extension.
* When starting [VS Code for the Web](/docs/editor/vscode-web.md), you need to add the following query parameter to the end of the URL: `?vscode-coi=`.

## Run Hello World

Expand All @@ -36,7 +36,7 @@ The extension comes with an integrated Python REPL. To activate it, run the comm

## Debugging

There is support for debugging Python files on the Web. The features currently supported are:
There is support for debugging Python files on the Web and it uses the same UI as VS Code Desktop [debugging](/docs/python/debugging.md). The features currently supported are:

* Set breakpoints
* Step into and out of functions
Expand Down