From be375c1a94aecc0e3437a21795413b405a56dc9d Mon Sep 17 00:00:00 2001 From: Vahagn Khachatryan Date: Mon, 20 Aug 2018 06:13:27 +0100 Subject: [PATCH] 'launcher.json' --- .vscode/launch.json | 48 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..2025f1c --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,48 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Python: Current File", + "type": "python", + "request": "launch", + "program": "${workspaceFolder}/gragir/__main__.py", + "env": { + "PYTHONPATH": "${workspaceFolder}/modules/ebooklib" + }, + "args": [ + "samples/algorithms_third_edition_in_c.zip", + "test_out/algorithms_third_edition_in_c.epub" + ] + }, + { + "name": "Python: Terminal (integrated)", + "type": "python", + "request": "launch", + "program": "${workspaceFolder}/gragir/__main__.py", + "console": "integratedTerminal", + "env": { + "PYTHONPATH": "${workspaceFolder}/modules/ebooklib" + }, + }, + { + "name": "Python: All debug Options", + "type": "python", + "request": "launch", + "pythonPath": "${config:python.pythonPath}", + "program": "${file}", + "module": "module.name", + "env": { + "PYTHONPATH": "${workspaceFolder}/modules/ebooklib", + "VAR2": "2" + }, + "envFile": "${workspaceFolder}/.env", + "args": [ + "arg1", + "arg2" + ], + "debugOptions": [ + "RedirectOutput" + ] + } + ] +} \ No newline at end of file