Skip to content

Instantly share code, notes, and snippets.

@kleysonr
Last active May 27, 2026 11:28
Show Gist options
  • Select an option

  • Save kleysonr/8941f981abfa2aaf59702172a9afa418 to your computer and use it in GitHub Desktop.

Select an option

Save kleysonr/8941f981abfa2aaf59702172a9afa418 to your computer and use it in GitHub Desktop.
VSCode Python Debug
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: Current File",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal"
},
{
"name": "Python: Uvicorn",
"type": "debugpy",
"request": "launch",
"module": "uvicorn",
"args": ["main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"],
"console": "integratedTerminal",
"justMyCode": false
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment