> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coderide.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Python

> LSP and debugger setup for Python in Coder.

## Language server

| Server | Install |
| - | - |
| [pyright](https://microsoft.github.io/pyright/) (preferred) | `npm install -g pyright` |
| [python-lsp-server](https://github.com/python-lsp/python-lsp-server) (fallback, used only if pyright isn't found) | `pip install python-lsp-server` |

## Debugger

| Adapter | Install | Notes |
| - | - | - |
| `python3 -m debugpy.adapter` | `pip install debugpy` | |

See [Debugger](/debugger) for the debugger UI itself.

## Tested on

macOS (Apple Silicon). Windows and Linux paths aren't documented yet.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.