59a04c6761
a log line cannot match multiple patterns. Again a fixture can only exist in codebase if its associated pattern also exists.
60 lines
1.7 KiB
JSON
60 lines
1.7 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Python Debugger: current file",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"program": "${file}",
|
|
"console": "integratedTerminal",
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"PYTHONPATH": "${workspaceFolder}\\src"
|
|
}
|
|
},
|
|
{
|
|
"name": "Python Debugger: project",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"module": "logwatcher.app",
|
|
"cwd": "${workspaceFolder}",
|
|
"console": "integratedTerminal",
|
|
"env": {
|
|
"PYTHONPATH": "${workspaceFolder}\\src"
|
|
}
|
|
},
|
|
{
|
|
"name": "Pytest : current file",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"module": "pytest",
|
|
"args": [
|
|
"${file}",
|
|
"-v",
|
|
"--no-header"
|
|
],
|
|
"python": "${workspaceFolder}\\.venv\\Scripts\\python.exe",
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"PYTHONPATH": "${workspaceFolder}\\src"
|
|
},
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"name": "Pytest : all tests",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"module": "pytest",
|
|
"args": [
|
|
"-v",
|
|
"--no-header"
|
|
],
|
|
"python": "${workspaceFolder}\\.venv\\Scripts\\python.exe",
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"PYTHONPATH": "${workspaceFolder}\\src"
|
|
},
|
|
"console": "integratedTerminal"
|
|
}
|
|
]
|
|
} |