|
13 | 13 | "name": "Python",
|
14 | 14 | "type": "python",
|
15 | 15 | "request": "launch",
|
16 |
| - "stopOnEntry": true, |
17 |
| - "pythonPath": "${config:python.pythonPath}", |
| 16 | + "stopOnEntry": false, |
| 17 | + "python": "${command:python.interpreterPath}", |
18 | 18 | "program": "${file}",
|
19 | 19 | "cwd": "${workspaceRoot}",
|
20 | 20 | "env": {},
|
21 | 21 | "envFile": "${workspaceRoot}/.env",
|
22 | 22 | "debugOptions": [
|
23 |
| - "WaitOnAbnormalExit", |
24 |
| - "WaitOnNormalExit", |
25 | 23 | "RedirectOutput"
|
26 | 24 | ]
|
| 25 | + //"debugOptions": [ |
| 26 | + // "WaitOnAbnormalExit", |
| 27 | + // "WaitOnNormalExit", |
| 28 | + //"RedirectOutput" |
| 29 | + //] |
27 | 30 | },
|
28 | 31 | {
|
29 | 32 | "name": "PySpark",
|
30 | 33 | "type": "python",
|
31 | 34 | "request": "launch",
|
32 | 35 | "stopOnEntry": true,
|
33 | 36 | "osx": {
|
34 |
| - "pythonPath": "${env:SPARK_HOME}/bin/spark-submit" |
| 37 | + "python": "${env:SPARK_HOME}/bin/spark-submit" |
35 | 38 | },
|
36 | 39 | "windows": {
|
37 |
| - "pythonPath": "${env:SPARK_HOME}/bin/spark-submit.cmd" |
| 40 | + "python": "${env:SPARK_HOME}/bin/spark-submit.cmd" |
38 | 41 | },
|
39 | 42 | "linux": {
|
40 |
| - "pythonPath": "${env:SPARK_HOME}/bin/spark-submit" |
| 43 | + "python": "${env:SPARK_HOME}/bin/spark-submit" |
41 | 44 | },
|
42 | 45 | "program": "${file}",
|
43 | 46 | "cwd": "${workspaceRoot}",
|
|
54 | 57 | "type": "python",
|
55 | 58 | "request": "launch",
|
56 | 59 | "stopOnEntry": true,
|
57 |
| - "pythonPath": "${config:python.pythonPath}", |
| 60 | + "python": "${command:python.interpreterPath}", |
58 | 61 | "module": "module.name",
|
59 | 62 | "cwd": "${workspaceRoot}",
|
60 | 63 | "env": {},
|
|
70 | 73 | "type": "python",
|
71 | 74 | "request": "launch",
|
72 | 75 | "stopOnEntry": true,
|
73 |
| - "pythonPath": "${config:python.pythonPath}", |
| 76 | + "python": "${command:python.interpreterPath}", |
74 | 77 | "program": "${file}",
|
75 | 78 | "cwd": "",
|
76 | 79 | "console": "integratedTerminal",
|
|
86 | 89 | "type": "python",
|
87 | 90 | "request": "launch",
|
88 | 91 | "stopOnEntry": true,
|
89 |
| - "pythonPath": "${config:python.pythonPath}", |
| 92 | + "python": "${command:python.interpreterPath}", |
90 | 93 | "program": "${file}",
|
91 | 94 | "cwd": "",
|
92 | 95 | "console": "externalTerminal",
|
|
102 | 105 | "type": "python",
|
103 | 106 | "request": "launch",
|
104 | 107 | "stopOnEntry": true,
|
105 |
| - "pythonPath": "${config:python.pythonPath}", |
| 108 | + "python": "${command:python.interpreterPath}", |
106 | 109 | "program": "${workspaceRoot}/manage.py",
|
107 | 110 | "cwd": "${workspaceRoot}",
|
108 | 111 | "args": [
|
|
124 | 127 | "type": "python",
|
125 | 128 | "request": "launch",
|
126 | 129 | "stopOnEntry": false,
|
127 |
| - "pythonPath": "${config:python.pythonPath}", |
| 130 | + "python": "${command:python.interpreterPath}", |
128 | 131 | "program": "fully qualified path fo 'flask' executable. Generally located along with python interpreter",
|
129 | 132 | "cwd": "${workspaceRoot}",
|
130 | 133 | "env": {
|
|
147 | 150 | "type": "python",
|
148 | 151 | "request": "launch",
|
149 | 152 | "stopOnEntry": false,
|
150 |
| - "pythonPath": "${config:python.pythonPath}", |
| 153 | + "python": "${command:python.interpreterPath}", |
151 | 154 | "program": "${workspaceRoot}/run.py",
|
152 | 155 | "cwd": "${workspaceRoot}",
|
153 | 156 | "args": [],
|
|
164 | 167 | "type": "python",
|
165 | 168 | "request": "launch",
|
166 | 169 | "stopOnEntry": true,
|
167 |
| - "pythonPath": "${config:python.pythonPath}", |
| 170 | + "python": "${command:python.interpreterPath}", |
168 | 171 | "cwd": "${workspaceRoot}",
|
169 | 172 | "env": {},
|
170 | 173 | "envFile": "${workspaceRoot}/.env",
|
|
183 | 186 | "type": "python",
|
184 | 187 | "request": "launch",
|
185 | 188 | "stopOnEntry": true,
|
186 |
| - "pythonPath": "${config:python.pythonPath}", |
| 189 | + "python": "${command:python.interpreterPath}", |
187 | 190 | "program": "${workspaceRoot}/console.py",
|
188 | 191 | "cwd": "${workspaceRoot}",
|
189 | 192 | "args": [
|
|
0 commit comments