forked from zookinheimer/Lunch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlaunch.json
53 lines (53 loc) · 1.41 KB
/
launch.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
// pytest: https://stackoverflow.com/questions/70259564/how-to-debug-the-current-python-test-file-with-pytest-in-vs-code
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"cwd": "${fileDirname}",
"pythonArgs": [
"-Xfrozen_modules=off"
],
"env": {
"PYDEVD_DISABLE_FILE_VALIDATION": "1"
}
// "args": ["-i", "response.xml", "-o", "response.csv"],
// "args": ["-d", "/Volumes/Data"],
// "args": ["-f", "menubar.dmg"],
// "args": ["-h"],
},
{
"name": "Python: Flet",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/.venv/bin/flet",
"console": "integratedTerminal",
"args": [
"run",
"main.py"
// "-d"
],
"env": {
"PYDEVD_DISABLE_FILE_VALIDATION": "1",
},
"justMyCode": true
},
{
"name": "Python: Debug Tests",
"type": "debugpy",
"request": "launch",
"module": "pytest",
"args": [
"${file}"
],
"console": "integratedTerminal"
},
],
}