Skip to content

Instantly share code, notes, and snippets.

@nickolasclarke
Created October 1, 2025 20:21
Show Gist options
  • Save nickolasclarke/64af4cfcbd5f84c99b35a4fe84112da7 to your computer and use it in GitHub Desktop.
Save nickolasclarke/64af4cfcbd5f84c99b35a4fe84112da7 to your computer and use it in GitHub Desktop.
UV gists

VSCode Python debugger with UV

This is useful for debugging CLIs, scripts with in-line requirements, or other tools that are easier to invoke via UV.

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Debug with uv",
            "type": "debugpy",
            "request": "launch",
            "python": "uv",
            "pythonArgs": [
                "run",
                "python"
            ],
            "program": "${file}"
        }
    ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment