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