Skip to content

Instantly share code, notes, and snippets.

@nenetto
Created December 14, 2021 09:25
Show Gist options
  • Save nenetto/7d86ee17c8ad8143bf7f2078afcd6ceb to your computer and use it in GitHub Desktop.
Save nenetto/7d86ee17c8ad8143bf7f2078afcd6ceb to your computer and use it in GitHub Desktop.
Launch configuration for Python in Visual Studio Code
{
// 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": "Run Python current file",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"cwd": "${fileDirname}",
"env": {"PYTHONPATH": "${workspaceFolder}${pathSeparator}${env:PYTHONPATH}"}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment