Skip to content

Commit 48a67c5

Browse files
committed
Settings
1 parent dcf969a commit 48a67c5

File tree

3 files changed

+24
-17
lines changed

3 files changed

+24
-17
lines changed

.gitignore

+5-1
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,8 @@ build
5959
dist
6060
.vscode
6161
*.spec
62-
*.sf2
62+
*.sf2
63+
*.pdb
64+
.vscode/settings.json
65+
.vscode/launch.json
66+
test.py

.vscode/launch.json

+18-15
Original file line numberDiff line numberDiff line change
@@ -13,31 +13,34 @@
1313
"name": "Python",
1414
"type": "python",
1515
"request": "launch",
16-
"stopOnEntry": true,
17-
"pythonPath": "${config:python.pythonPath}",
16+
"stopOnEntry": false,
17+
"python": "${command:python.interpreterPath}",
1818
"program": "${file}",
1919
"cwd": "${workspaceRoot}",
2020
"env": {},
2121
"envFile": "${workspaceRoot}/.env",
2222
"debugOptions": [
23-
"WaitOnAbnormalExit",
24-
"WaitOnNormalExit",
2523
"RedirectOutput"
2624
]
25+
//"debugOptions": [
26+
// "WaitOnAbnormalExit",
27+
// "WaitOnNormalExit",
28+
//"RedirectOutput"
29+
//]
2730
},
2831
{
2932
"name": "PySpark",
3033
"type": "python",
3134
"request": "launch",
3235
"stopOnEntry": true,
3336
"osx": {
34-
"pythonPath": "${env:SPARK_HOME}/bin/spark-submit"
37+
"python": "${env:SPARK_HOME}/bin/spark-submit"
3538
},
3639
"windows": {
37-
"pythonPath": "${env:SPARK_HOME}/bin/spark-submit.cmd"
40+
"python": "${env:SPARK_HOME}/bin/spark-submit.cmd"
3841
},
3942
"linux": {
40-
"pythonPath": "${env:SPARK_HOME}/bin/spark-submit"
43+
"python": "${env:SPARK_HOME}/bin/spark-submit"
4144
},
4245
"program": "${file}",
4346
"cwd": "${workspaceRoot}",
@@ -54,7 +57,7 @@
5457
"type": "python",
5558
"request": "launch",
5659
"stopOnEntry": true,
57-
"pythonPath": "${config:python.pythonPath}",
60+
"python": "${command:python.interpreterPath}",
5861
"module": "module.name",
5962
"cwd": "${workspaceRoot}",
6063
"env": {},
@@ -70,7 +73,7 @@
7073
"type": "python",
7174
"request": "launch",
7275
"stopOnEntry": true,
73-
"pythonPath": "${config:python.pythonPath}",
76+
"python": "${command:python.interpreterPath}",
7477
"program": "${file}",
7578
"cwd": "",
7679
"console": "integratedTerminal",
@@ -86,7 +89,7 @@
8689
"type": "python",
8790
"request": "launch",
8891
"stopOnEntry": true,
89-
"pythonPath": "${config:python.pythonPath}",
92+
"python": "${command:python.interpreterPath}",
9093
"program": "${file}",
9194
"cwd": "",
9295
"console": "externalTerminal",
@@ -102,7 +105,7 @@
102105
"type": "python",
103106
"request": "launch",
104107
"stopOnEntry": true,
105-
"pythonPath": "${config:python.pythonPath}",
108+
"python": "${command:python.interpreterPath}",
106109
"program": "${workspaceRoot}/manage.py",
107110
"cwd": "${workspaceRoot}",
108111
"args": [
@@ -124,7 +127,7 @@
124127
"type": "python",
125128
"request": "launch",
126129
"stopOnEntry": false,
127-
"pythonPath": "${config:python.pythonPath}",
130+
"python": "${command:python.interpreterPath}",
128131
"program": "fully qualified path fo 'flask' executable. Generally located along with python interpreter",
129132
"cwd": "${workspaceRoot}",
130133
"env": {
@@ -147,7 +150,7 @@
147150
"type": "python",
148151
"request": "launch",
149152
"stopOnEntry": false,
150-
"pythonPath": "${config:python.pythonPath}",
153+
"python": "${command:python.interpreterPath}",
151154
"program": "${workspaceRoot}/run.py",
152155
"cwd": "${workspaceRoot}",
153156
"args": [],
@@ -164,7 +167,7 @@
164167
"type": "python",
165168
"request": "launch",
166169
"stopOnEntry": true,
167-
"pythonPath": "${config:python.pythonPath}",
170+
"python": "${command:python.interpreterPath}",
168171
"cwd": "${workspaceRoot}",
169172
"env": {},
170173
"envFile": "${workspaceRoot}/.env",
@@ -183,7 +186,7 @@
183186
"type": "python",
184187
"request": "launch",
185188
"stopOnEntry": true,
186-
"pythonPath": "${config:python.pythonPath}",
189+
"python": "${command:python.interpreterPath}",
187190
"program": "${workspaceRoot}/console.py",
188191
"cwd": "${workspaceRoot}",
189192
"args": [

.vscode/settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
//"python.pythonPath": "C:/Python27/python.exe",
3-
"python.pythonPath": "C:/Python36-32/python.exe",
3+
"python.pythonPath": "C:\\Users\\jwdj\\AppData\\Local\\Programs\\Python\\Python38-32\\python.exe",
44

55
"files.exclude": {
66
"**/*.pyc": true,

0 commit comments

Comments
 (0)