1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | {
"version" : "0.2.0" ,
"configurations" : [{
"name" : "Python: Current File (Integrated Terminal)" ,
"type" : "python" ,
"request" : "launch" ,
"program" : "${file}" ,
"console" : "integratedTerminal"
},
{
"name" : "Python: Attach" ,
"type" : "python" ,
"request" : "attach" ,
"port" : 5678,
"host" : "localhost"
},
{
"name" : "Python: Module" ,
"type" : "python" ,
"request" : "launch" ,
"module" : "enter-your-module-name-here" ,
"console" : "integratedTerminal"
},
{
"name" : "Python: Django" ,
"type" : "python" ,
"request" : "launch" ,
"program" : "${workspaceFolder}/HelloWorld/manage.py" ,
"console" : "integratedTerminal" ,
"args" : [
"runserver" ,
"8080" ,
"--noreload" ,
"--nothreading"
],
"django" : true
},
{
"name" : "Python: Flask" ,
"type" : "python" ,
"request" : "launch" ,
"module" : "flask" ,
"env" : {
"FLASK_APP" : "app.py"
},
"args" : [
"run" ,
"--no-debugger" ,
"--no-reload"
],
"jinja" : true
},
{
"name" : "Python: Current File (External Terminal)" ,
"type" : "python" ,
"request" : "launch" ,
"program" : "${file}" ,
"console" : "externalTerminal"
}
]
}
|