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
+ "name" : " Python: Current File" ,
9
+ "type" : " python" ,
10
+ "request" : " launch" ,
11
+ "stopOnEntry" : true ,
12
+ "pythonPath" : " ${config:python.pythonPath}" ,
13
+ "program" : " ${file}" ,
14
+ "cwd" : " ${workspaceFolder}" ,
15
+ "env" : {},
16
+ "envFile" : " ${workspaceFolder}/.env" ,
17
+ "debugOptions" : [
18
+ " RedirectOutput"
19
+ ]
20
+ },
21
+ {
22
+ "name" : " Python: Attach" ,
23
+ "type" : " python" ,
24
+ "request" : " attach" ,
25
+ "localRoot" : " ${workspaceFolder}" ,
26
+ "remoteRoot" : " ${workspaceFolder}" ,
27
+ "port" : 3000 ,
28
+ "secret" : " my_secret" ,
29
+ "host" : " localhost"
30
+ },
31
+ {
32
+ "name" : " Python: Terminal (integrated)" ,
33
+ "type" : " python" ,
34
+ "request" : " launch" ,
35
+ "stopOnEntry" : true ,
36
+ "pythonPath" : " ${config:python.pythonPath}" ,
37
+ "program" : " ${file}" ,
38
+ "cwd" : " " ,
39
+ "console" : " integratedTerminal" ,
40
+ "env" : {},
41
+ "envFile" : " ${workspaceFolder}/.env" ,
42
+ "debugOptions" : [],
43
+ "internalConsoleOptions" : " neverOpen"
44
+ },
45
+ {
46
+ "name" : " Python: Terminal (external)" ,
47
+ "type" : " python" ,
48
+ "request" : " launch" ,
49
+ "stopOnEntry" : true ,
50
+ "pythonPath" : " ${config:python.pythonPath}" ,
51
+ "program" : " ${file}" ,
52
+ "cwd" : " " ,
53
+ "console" : " externalTerminal" ,
54
+ "env" : {},
55
+ "envFile" : " ${workspaceFolder}/.env" ,
56
+ "debugOptions" : [],
57
+ "internalConsoleOptions" : " neverOpen"
58
+ },
59
+ {
60
+ "name" : " Python: Django" ,
61
+ "type" : " python" ,
62
+ "request" : " launch" ,
63
+ "stopOnEntry" : true ,
64
+ "pythonPath" : " ${config:python.pythonPath}" ,
65
+ "program" : " ${workspaceFolder}/manage.py" ,
66
+ "cwd" : " ${workspaceFolder}" ,
67
+ "args" : [
68
+ " runserver" ,
69
+ " --noreload" ,
70
+ " --nothreading"
71
+ ],
72
+ "env" : {},
73
+ "envFile" : " ${workspaceFolder}/.env" ,
74
+ "debugOptions" : [
75
+ " RedirectOutput" ,
76
+ " DjangoDebugging"
77
+ ]
78
+ },
79
+ {
80
+ "name" : " Python: Flask (0.11.x or later)" ,
81
+ "type" : " python" ,
82
+ "request" : " launch" ,
83
+ "stopOnEntry" : false ,
84
+ "pythonPath" : " ${config:python.pythonPath}" ,
85
+ "module" : " flask" ,
86
+ "cwd" : " ${workspaceFolder}" ,
87
+ "env" : {
88
+ "FLASK_APP" : " ${workspaceFolder}/app.py"
89
+ },
90
+ "args" : [
91
+ " run" ,
92
+ " --no-debugger" ,
93
+ " --no-reload"
94
+ ],
95
+ "envFile" : " ${workspaceFolder}/.env" ,
96
+ "debugOptions" : [
97
+ " RedirectOutput"
98
+ ]
99
+ },
100
+ {
101
+ "name" : " Python: Flask (0.10.x or earlier)" ,
102
+ "type" : " python" ,
103
+ "request" : " launch" ,
104
+ "stopOnEntry" : false ,
105
+ "pythonPath" : " ${config:python.pythonPath}" ,
106
+ "program" : " ${workspaceFolder}/run.py" ,
107
+ "cwd" : " ${workspaceFolder}" ,
108
+ "args" : [],
109
+ "env" : {},
110
+ "envFile" : " ${workspaceFolder}/.env" ,
111
+ "debugOptions" : [
112
+ " RedirectOutput"
113
+ ]
114
+ },
115
+ {
116
+ "name" : " Python: PySpark" ,
117
+ "type" : " python" ,
118
+ "request" : " launch" ,
119
+ "stopOnEntry" : true ,
120
+ "osx" : {
121
+ "pythonPath" : " ${env:SPARK_HOME}/bin/spark-submit"
122
+ },
123
+ "windows" : {
124
+ "pythonPath" : " ${env:SPARK_HOME}/bin/spark-submit.cmd"
125
+ },
126
+ "linux" : {
127
+ "pythonPath" : " ${env:SPARK_HOME}/bin/spark-submit"
128
+ },
129
+ "program" : " ${file}" ,
130
+ "cwd" : " ${workspaceFolder}" ,
131
+ "env" : {},
132
+ "envFile" : " ${workspaceFolder}/.env" ,
133
+ "debugOptions" : [
134
+ " RedirectOutput"
135
+ ]
136
+ },
137
+ {
138
+ "name" : " Python: Module" ,
139
+ "type" : " python" ,
140
+ "request" : " launch" ,
141
+ "stopOnEntry" : true ,
142
+ "pythonPath" : " ${config:python.pythonPath}" ,
143
+ "module" : " module.name" ,
144
+ "cwd" : " ${workspaceFolder}" ,
145
+ "env" : {},
146
+ "envFile" : " ${workspaceFolder}/.env" ,
147
+ "debugOptions" : [
148
+ " RedirectOutput"
149
+ ]
150
+ },
151
+ {
152
+ "name" : " Python: Pyramid" ,
153
+ "type" : " python" ,
154
+ "request" : " launch" ,
155
+ "stopOnEntry" : true ,
156
+ "pythonPath" : " ${config:python.pythonPath}" ,
157
+ "cwd" : " ${workspaceFolder}" ,
158
+ "env" : {},
159
+ "envFile" : " ${workspaceFolder}/.env" ,
160
+ "args" : [
161
+ " ${workspaceFolder}/development.ini"
162
+ ],
163
+ "debugOptions" : [
164
+ " RedirectOutput" ,
165
+ " Pyramid"
166
+ ]
167
+ },
168
+ {
169
+ "name" : " Python: Watson" ,
170
+ "type" : " python" ,
171
+ "request" : " launch" ,
172
+ "stopOnEntry" : true ,
173
+ "pythonPath" : " ${config:python.pythonPath}" ,
174
+ "program" : " ${workspaceFolder}/console.py" ,
175
+ "cwd" : " ${workspaceFolder}" ,
176
+ "args" : [
177
+ " dev" ,
178
+ " runserver" ,
179
+ " --noreload=True"
180
+ ],
181
+ "env" : {},
182
+ "envFile" : " ${workspaceFolder}/.env" ,
183
+ "debugOptions" : [
184
+ " RedirectOutput"
185
+ ]
186
+ }
187
+ ]
188
+ }
0 commit comments