launch_debugger
Launch a Python script under debugpy and pause at the first line to begin an interactive debugging session.
Instructions
Launch a Python script under debugpy and wait until execution pauses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for the debuggee. Defaults to the server project root. | |
| args | No | Command-line arguments passed to the debuggee script. | |
| console | No | Console mode for the debuggee. This server currently supports only internalConsole. | internalConsole |
| script_path | Yes | Path to the Python script to debug. Relative paths resolve from the project root. | |
| just_my_code | No | If true, stepping stays within user code when debugpy can determine that. | |
| stop_on_entry | No | If true, pause before executing the first user line. | |
| python_executable | No | Python interpreter used to run the debuggee. Defaults to the server interpreter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||