launch.json (3621B)
1 { 2 // Use IntelliSense to learn about possible attributes. 3 // Hover to view descriptions of existing attributes. 4 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 "version": "0.2.0", 6 "configurations": [ 7 8 { 9 "name": "Go Server", 10 "type": "go", 11 "request": "launch", 12 "program": "${workspaceRoot}/Server.go" 13 }, 14 { 15 "name": "Go Server 2", 16 "type": "go", 17 "request": "launch", 18 "program": "${workspaceRoot}/Server2.go" 19 }, 20 { 21 "name": "Python: Current File", 22 "type": "python", 23 "request": "launch", 24 "program": "${file}" 25 }, 26 { 27 "name": "Python: Attach", 28 "type": "python", 29 "request": "attach", 30 "localRoot": "${workspaceFolder}", 31 "remoteRoot": "${workspaceFolder}", 32 "port": 3000, 33 "secret": "my_secret", 34 "host": "localhost" 35 }, 36 { 37 "name": "Python: Terminal (integrated)", 38 "type": "python", 39 "request": "launch", 40 "program": "${file}", 41 "console": "integratedTerminal" 42 }, 43 { 44 "name": "Python: Terminal (external)", 45 "type": "python", 46 "request": "launch", 47 "program": "${file}", 48 "console": "externalTerminal" 49 }, 50 { 51 "name": "Python: Django", 52 "type": "python", 53 "request": "launch", 54 "program": "${workspaceFolder}/manage.py", 55 "args": [ 56 "runserver", 57 "--noreload", 58 "--nothreading" 59 ], 60 "debugOptions": [ 61 "RedirectOutput", 62 "Django" 63 ] 64 }, 65 { 66 "name": "Python: Flask (0.11.x or later)", 67 "type": "python", 68 "request": "launch", 69 "module": "flask", 70 "env": { 71 "FLASK_APP": "${workspaceFolder}/app.py" 72 }, 73 "args": [ 74 "run", 75 "--no-debugger", 76 "--no-reload" 77 ] 78 }, 79 { 80 "name": "Python: Module", 81 "type": "python", 82 "request": "launch", 83 "module": "module.name" 84 }, 85 { 86 "name": "Python: Pyramid", 87 "type": "python", 88 "request": "launch", 89 "args": [ 90 "${workspaceFolder}/development.ini" 91 ], 92 "debugOptions": [ 93 "RedirectOutput", 94 "Pyramid" 95 ] 96 }, 97 { 98 "name": "Python: Watson", 99 "type": "python", 100 "request": "launch", 101 "program": "${workspaceFolder}/console.py", 102 "args": [ 103 "dev", 104 "runserver", 105 "--noreload=True" 106 ] 107 }, 108 { 109 "name": "Python: All debug Options", 110 "type": "python", 111 "request": "launch", 112 "pythonPath": "${config:python.pythonPath}", 113 "program": "${file}", 114 "module": "module.name", 115 "env": { 116 "VAR1": "1", 117 "VAR2": "2" 118 }, 119 "envFile": "${workspaceFolder}/.env", 120 "args": [ 121 "arg1", 122 "arg2" 123 ], 124 "debugOptions": [ 125 "RedirectOutput" 126 ] 127 } 128 ] 129 }