|
301 | 301 | "type": "python", |
302 | 302 | "request": "launch", |
303 | 303 | "stopOnEntry": true, |
304 | | - "pythonPath": "$${{config:python.pythonPath}}", |
305 | | - "program": "$${{file}}", |
306 | | - "cwd": "$${{workspaceRoot}}", |
| 304 | + "pythonPath": "^\"\\${config:python.pythonPath}\"", |
| 305 | + "program": "^\"\\${file}\"", |
| 306 | + "cwd": "^\"\\${workspaceRoot}\"", |
307 | 307 | "env": {}, |
308 | | - "envFile": "$${{workspaceRoot}}/.env", |
| 308 | + "envFile": "^\"\\${workspaceRoot}/.env\"", |
309 | 309 | "debugOptions": [ |
310 | 310 | "WaitOnAbnormalExit", |
311 | 311 | "WaitOnNormalExit", |
|
322 | 322 | "request": "launch", |
323 | 323 | "stopOnEntry": true, |
324 | 324 | "osx": { |
325 | | - "pythonPath": "$${{env:SPARK_HOME}}/bin/spark-submit" |
| 325 | + "pythonPath": "^\"\\${env:SPARK_HOME}/bin/spark-submit\"" |
326 | 326 | }, |
327 | 327 | "windows": { |
328 | | - "pythonPath": "$${{env:SPARK_HOME}}/bin/spark-submit.cmd" |
| 328 | + "pythonPath": "^\"\\${env:SPARK_HOME}/bin/spark-submit.cmd\"" |
329 | 329 | }, |
330 | 330 | "linux": { |
331 | | - "pythonPath": "$${{env:SPARK_HOME}}/bin/spark-submit" |
| 331 | + "pythonPath": "^\"\\${env:SPARK_HOME}/bin/spark-submit\"" |
332 | 332 | }, |
333 | | - "program": "$${{file}}", |
334 | | - "cwd": "$${{workspaceRoot}}", |
| 333 | + "program": "^\"\\${file}\"", |
| 334 | + "cwd": "^\"\\${workspaceRoot}\"", |
335 | 335 | "env": {}, |
336 | | - "envFile": "$${{workspaceRoot}}/.env", |
| 336 | + "envFile": "^\"\\${workspaceRoot}/.env\"", |
337 | 337 | "debugOptions": [ |
338 | 338 | "WaitOnAbnormalExit", |
339 | 339 | "WaitOnNormalExit", |
|
349 | 349 | "type": "python", |
350 | 350 | "request": "launch", |
351 | 351 | "stopOnEntry": true, |
352 | | - "pythonPath": "$${{config:python.pythonPath}}", |
| 352 | + "pythonPath": "^\"\\${config:python.pythonPath}\"", |
353 | 353 | "module": "module.name", |
354 | | - "cwd": "$${{workspaceRoot}}", |
| 354 | + "cwd": "^\"\\${workspaceRoot}\"", |
355 | 355 | "env": {}, |
356 | | - "envFile": "$${{workspaceRoot}}/.env", |
| 356 | + "envFile": "^\"\\${workspaceRoot}/.env\"", |
357 | 357 | "debugOptions": [ |
358 | 358 | "WaitOnAbnormalExit", |
359 | 359 | "WaitOnNormalExit", |
|
369 | 369 | "type": "python", |
370 | 370 | "request": "launch", |
371 | 371 | "stopOnEntry": true, |
372 | | - "pythonPath": "$${{config:python.pythonPath}}", |
373 | | - "program": "$${{file}}", |
| 372 | + "pythonPath": "^\"\\${config:python.pythonPath}\"", |
| 373 | + "program": "^\"\\${file}\"", |
374 | 374 | "cwd": "", |
375 | 375 | "console": "integratedTerminal", |
376 | 376 | "env": {}, |
377 | | - "envFile": "$${{workspaceRoot}}/.env", |
| 377 | + "envFile": "^\"\\${workspaceRoot}/.env\"", |
378 | 378 | "debugOptions": [ |
379 | 379 | "WaitOnAbnormalExit", |
380 | 380 | "WaitOnNormalExit" |
|
389 | 389 | "type": "python", |
390 | 390 | "request": "launch", |
391 | 391 | "stopOnEntry": true, |
392 | | - "pythonPath": "$${{config:python.pythonPath}}", |
393 | | - "program": "${{file}}", |
| 392 | + "pythonPath": "^\"\\${config:python.pythonPath}\"", |
| 393 | + "program": "^\"\\${file}\"", |
394 | 394 | "cwd": "", |
395 | 395 | "console": "externalTerminal", |
396 | 396 | "env": {}, |
397 | | - "envFile": "$${{workspaceRoot}}/.env", |
| 397 | + "envFile": "^\"\\${workspaceRoot}/.env\"", |
398 | 398 | "debugOptions": [ |
399 | 399 | "WaitOnAbnormalExit", |
400 | 400 | "WaitOnNormalExit" |
|
409 | 409 | "type": "python", |
410 | 410 | "request": "launch", |
411 | 411 | "stopOnEntry": true, |
412 | | - "pythonPath": "$${{config:python.pythonPath}}", |
413 | | - "program": "$${{workspaceRoot}/manage.py", |
414 | | - "cwd": "$${{workspaceRoot}}", |
| 412 | + "pythonPath": "^\"\\${config:python.pythonPath}\"", |
| 413 | + "program": "^\"\\${workspaceRoot}/manage.py\"", |
| 414 | + "cwd": "^\"\\${workspaceRoot}\"", |
415 | 415 | "args": [ |
416 | 416 | "runserver", |
417 | 417 | "--noreload" |
418 | 418 | ], |
419 | 419 | "env": {}, |
420 | | - "envFile": "$${{workspaceRoot}}/.env", |
| 420 | + "envFile": "^\"\\${workspaceRoot}/.env\"", |
421 | 421 | "debugOptions": [ |
422 | 422 | "WaitOnAbnormalExit", |
423 | 423 | "WaitOnNormalExit", |
|
434 | 434 | "type": "python", |
435 | 435 | "request": "launch", |
436 | 436 | "stopOnEntry": false, |
437 | | - "pythonPath": "$${{config:python.pythonPath}}", |
| 437 | + "pythonPath": "^\"\\${config:python.pythonPath}\"", |
438 | 438 | "program": "fully qualified path fo 'flask' executable. Generally located along with python interpreter", |
439 | | - "cwd": "$${{workspaceRoot}}", |
| 439 | + "cwd": "^\"\\${workspaceRoot}\"", |
440 | 440 | "env": { |
441 | | - "FLASK_APP": "$${{workspaceRoot}}/quickstart/app.py" |
| 441 | + "FLASK_APP": "^\"\\${workspaceRoot}/quickstart/app.py\"" |
442 | 442 | }, |
443 | 443 | "args": [ |
444 | 444 | "run", |
445 | 445 | "--no-debugger", |
446 | 446 | "--no-reload" |
447 | 447 | ], |
448 | | - "envFile": "$${{workspaceRoot}}/.env", |
| 448 | + "envFile": "^\"\\${workspaceRoot}/.env\"", |
449 | 449 | "debugOptions": [ |
450 | 450 | "WaitOnAbnormalExit", |
451 | 451 | "WaitOnNormalExit", |
|
461 | 461 | "type": "python", |
462 | 462 | "request": "launch", |
463 | 463 | "stopOnEntry": false, |
464 | | - "pythonPath": "$${{config:python.pythonPath}}", |
465 | | - "program": "$${{workspaceRoot}}/run.py", |
466 | | - "cwd": "$${{workspaceRoot}}", |
| 464 | + "pythonPath": "^\"\\${config:python.pythonPath}\"", |
| 465 | + "program": "^\"\\${workspaceRoot}/run.py\"", |
| 466 | + "cwd": "^\"\\${workspaceRoot}\"", |
467 | 467 | "args": [], |
468 | 468 | "env": {}, |
469 | | - "envFile": "$${{workspaceRoot}}/.env", |
| 469 | + "envFile": "^\"\\${workspaceRoot}/.env\"", |
470 | 470 | "debugOptions": [ |
471 | 471 | "WaitOnAbnormalExit", |
472 | 472 | "WaitOnNormalExit", |
473 | 473 | "RedirectOutput" |
474 | 474 | ] |
475 | 475 | } |
476 | 476 | }, |
| 477 | + { |
| 478 | + "label": "%python.snippet.launch.pyramid.label%", |
| 479 | + "description": "%python.snippet.launch.pyramid.description%", |
| 480 | + "body": { |
| 481 | + "name": "Pyramid", |
| 482 | + "type": "python", |
| 483 | + "request": "launch", |
| 484 | + "stopOnEntry": true, |
| 485 | + "pythonPath": "^\"\\${config:python.pythonPath}\"", |
| 486 | + "cwd": "^\"\\${workspaceRoot}\"", |
| 487 | + "env": {}, |
| 488 | + "envFile": "^\"\\${workspaceRoot}/.env\"", |
| 489 | + "args": [ |
| 490 | + "^\"\\${workspaceRoot}/development.ini\"" |
| 491 | + ], |
| 492 | + "debugOptions": [ |
| 493 | + "WaitOnAbnormalExit", |
| 494 | + "WaitOnNormalExit", |
| 495 | + "RedirectOutput", |
| 496 | + "Pyramid" |
| 497 | + ] |
| 498 | + } |
| 499 | + }, |
477 | 500 | { |
478 | 501 | "label": "%python.snippet.launch.watson.label%", |
479 | 502 | "description": "%python.snippet.launch.watson.description%", |
|
482 | 505 | "type": "python", |
483 | 506 | "request": "launch", |
484 | 507 | "stopOnEntry": true, |
485 | | - "pythonPath": "$${{config:python.pythonPath}}", |
486 | | - "program": "$${{workspaceRoot}}/console.py", |
487 | | - "cwd": "$${{workspaceRoot}}", |
| 508 | + "pythonPath": "^\"\\${config:python.pythonPath}\"", |
| 509 | + "program": "^\"\\${workspaceRoot}/console.py\"", |
| 510 | + "cwd": "^\"\\${workspaceRoot}\"", |
488 | 511 | "args": [ |
489 | 512 | "dev", |
490 | 513 | "runserver", |
491 | 514 | "--noreload=True" |
492 | 515 | ], |
493 | 516 | "env": {}, |
494 | | - "envFile": "$${{workspaceRoot}}/.env", |
| 517 | + "envFile": "^\"\\${workspaceRoot}/.env\"", |
495 | 518 | "debugOptions": [ |
496 | 519 | "WaitOnAbnormalExit", |
497 | 520 | "WaitOnNormalExit", |
|
507 | 530 | "type": "python", |
508 | 531 | "request": "launch", |
509 | 532 | "stopOnEntry": true, |
510 | | - "pythonPath": "$${{config:python.pythonPath}}", |
| 533 | + "pythonPath": "^\"\\${config:python.pythonPath}\"", |
511 | 534 | "program": "~/.virtualenvs/scrapy/bin/scrapy", |
512 | | - "cwd": "$${{workspaceRoot}}", |
| 535 | + "cwd": "^\"\\${workspaceRoot}\"", |
513 | 536 | "args": [ |
514 | 537 | "crawl", |
515 | 538 | "specs", |
|
518 | 541 | ], |
519 | 542 | "console": "integratedTerminal", |
520 | 543 | "env": {}, |
521 | | - "envFile": "$${{workspaceRoot}}/.env", |
| 544 | + "envFile": "^\"\\${workspaceRoot}/.env\"", |
522 | 545 | "debugOptions": [ |
523 | 546 | "WaitOnAbnormalExit", |
524 | 547 | "WaitOnNormalExit" |
|
532 | 555 | "name": "Attach (Remote Debug)", |
533 | 556 | "type": "python", |
534 | 557 | "request": "attach", |
535 | | - "localRoot": "$${{workspaceRoot}}", |
536 | | - "remoteRoot": "$${{workspaceRoot}}", |
| 558 | + "localRoot": "^\"\\${workspaceRoot}\"", |
| 559 | + "remoteRoot": "^\"\\${workspaceRoot}\"", |
537 | 560 | "port": 3000, |
538 | 561 | "secret": "my_secret", |
539 | 562 | "host": "localhost" |
|
0 commit comments