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