Skip to content

Commit 5b115df

Browse files
committed
Fixed configuration snippets
1 parent 2a15f4d commit 5b115df

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

package.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,9 @@
274274
"type": "python",
275275
"request": "launch",
276276
"stopOnEntry": true,
277-
"pythonPath": "${config.python.pythonPath}",
278-
"program": "${file}",
279-
"cwd": "${workspaceRoot}",
277+
"pythonPath": "$${{config.python.pythonPath}}",
278+
"program": "$${{file}}",
279+
"cwd": "$${{workspaceRoot}}",
280280
"debugOptions": [
281281
"WaitOnAbnormalExit",
282282
"WaitOnNormalExit",
@@ -293,16 +293,16 @@
293293
"request": "launch",
294294
"stopOnEntry": true,
295295
"osx": {
296-
"pythonPath": "${env.SPARK_HOME}/bin/spark-submit"
296+
"pythonPath": "$${env.SPARK_HOME}}/bin/spark-submit"
297297
},
298298
"windows": {
299-
"pythonPath": "${env.SPARK_HOME}/bin/spark-submit.cmd"
299+
"pythonPath": "$${{env.SPARK_HOME}}/bin/spark-submit.cmd"
300300
},
301301
"linux": {
302-
"pythonPath": "${env.SPARK_HOME}/bin/spark-submit"
302+
"pythonPath": "$${{env.SPARK_HOME}}/bin/spark-submit"
303303
},
304-
"program": "${file}",
305-
"cwd": "${workspaceRoot}",
304+
"program": "$${{file}}",
305+
"cwd": "$${{workspaceRoot}}",
306306
"debugOptions": [
307307
"WaitOnAbnormalExit",
308308
"WaitOnNormalExit",
@@ -318,9 +318,9 @@
318318
"type": "python",
319319
"request": "launch",
320320
"stopOnEntry": true,
321-
"pythonPath": "${config.python.pythonPath}",
321+
"pythonPath": "$${{config.python.pythonPath}}",
322322
"module": "module.name",
323-
"cwd": "${workspaceRoot}",
323+
"cwd": "$${{workspaceRoot}}",
324324
"debugOptions": [
325325
"WaitOnAbnormalExit",
326326
"WaitOnNormalExit",
@@ -336,8 +336,8 @@
336336
"type": "python",
337337
"request": "launch",
338338
"stopOnEntry": true,
339-
"pythonPath": "${config.python.pythonPath}",
340-
"program": "${file}",
339+
"pythonPath": "$${{config.python.pythonPath}}",
340+
"program": "$${{file}}",
341341
"cwd": "null",
342342
"console": "integratedTerminal",
343343
"debugOptions": [
@@ -354,8 +354,8 @@
354354
"type": "python",
355355
"request": "launch",
356356
"stopOnEntry": true,
357-
"pythonPath": "${config.python.pythonPath}",
358-
"program": "${file}",
357+
"pythonPath": "$${{config.python.pythonPath}}",
358+
"program": "${{file}}",
359359
"cwd": "null",
360360
"console": "externalTerminal",
361361
"debugOptions": [
@@ -372,9 +372,9 @@
372372
"type": "python",
373373
"request": "launch",
374374
"stopOnEntry": true,
375-
"pythonPath": "${config.python.pythonPath}",
376-
"program": "${workspaceRoot}/manage.py",
377-
"cwd": "${workspaceRoot}",
375+
"pythonPath": "$${{config.python.pythonPath}}",
376+
"program": "$${{workspaceRoot}/manage.py",
377+
"cwd": "$${{workspaceRoot}}",
378378
"args": [
379379
"runserver",
380380
"--noreload"
@@ -395,11 +395,11 @@
395395
"type": "python",
396396
"request": "launch",
397397
"stopOnEntry": false,
398-
"pythonPath": "${config.python.pythonPath}",
398+
"pythonPath": "$${{config.python.pythonPath}}",
399399
"program": "fully qualified path fo 'flask' executable. Generally located along with python interpreter",
400-
"cwd": "${workspaceRoot}",
400+
"cwd": "$${{workspaceRoot}}",
401401
"env": {
402-
"FLASK_APP": "${workspaceRoot}/quickstart/app.py"
402+
"FLASK_APP": "$${{workspaceRoot}}/quickstart/app.py"
403403
},
404404
"args": [
405405
"run",
@@ -421,9 +421,9 @@
421421
"type": "python",
422422
"request": "launch",
423423
"stopOnEntry": false,
424-
"pythonPath": "${config.python.pythonPath}",
425-
"program": "${workspaceRoot}/run.py",
426-
"cwd": "${workspaceRoot}",
424+
"pythonPath": "$${{config.python.pythonPath}}",
425+
"program": "$${{workspaceRoot}}/run.py",
426+
"cwd": "$${{workspaceRoot}}",
427427
"args": [],
428428
"debugOptions": [
429429
"WaitOnAbnormalExit",
@@ -440,9 +440,9 @@
440440
"type": "python",
441441
"request": "launch",
442442
"stopOnEntry": true,
443-
"pythonPath": "${config.python.pythonPath}",
444-
"program": "${workspaceRoot}/console.py",
445-
"cwd": "${workspaceRoot}",
443+
"pythonPath": "$${{config.python.pythonPath}}",
444+
"program": "$${{workspaceRoot}}/console.py",
445+
"cwd": "$${{workspaceRoot}}",
446446
"args": [
447447
"dev",
448448
"runserver",
@@ -462,8 +462,8 @@
462462
"name": "Attach (Remote Debug)",
463463
"type": "python",
464464
"request": "attach",
465-
"localRoot": "${workspaceRoot}",
466-
"remoteRoot": "${workspaceRoot}",
465+
"localRoot": "$${{workspaceRoot}}",
466+
"remoteRoot": "$${{workspaceRoot}}",
467467
"port": 3000,
468468
"secret": "my_secret",
469469
"host": "localhost"

0 commit comments

Comments
 (0)