Skip to content

Instantly share code, notes, and snippets.

@erikw
Last active February 18, 2025 14:51
Show Gist options
  • Save erikw/e78f985f4fff4d52f1399527db72e77e to your computer and use it in GitHub Desktop.
Save erikw/e78f985f4fff4d52f1399527db72e77e to your computer and use it in GitHub Desktop.
VSCode: Python Debugger: Current File with Arguments
{
// 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 with Arguments",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"args": "${command:pickArgs}" // Removed surrounding [] to add multiple arguments. Ref: https://stackoverflow.com/a/78912781
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment