From c2178aa9e7af2bff38af7f62df07b0858b66abeb Mon Sep 17 00:00:00 2001 From: David Timber Date: Mon, 14 Apr 2025 19:37:42 +0200 Subject: Change command invocation semantics to ... `python -m palhm` --- .vscode/launch.json | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to '.vscode/launch.json') diff --git a/.vscode/launch.json b/.vscode/launch.json index 1e96b2f..a81f27b 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -8,9 +8,9 @@ "name": "palhm config", "type": "python", "request": "launch", - "cwd": "${workspaceFolder}", - "program": "src/palhm.py", - "args": [ "-f", "src/conf/py-debug/palhm.jsonc", "config" ], + "cwd": "${workspaceFolder}/src", + "module": "palhm", + "args": [ "-f", "palhm/conf/py-debug/palhm.jsonc", "config" ], "console": "integratedTerminal", "justMyCode": true }, @@ -18,8 +18,8 @@ "name": "palhm mods", "type": "python", "request": "launch", - "cwd": "${workspaceFolder}", - "program": "src/palhm.py", + "cwd": "${workspaceFolder}/src", + "module": "palhm", "args": [ "mods" ], "console": "integratedTerminal", "justMyCode": true @@ -28,9 +28,9 @@ "name": "palhm boot-report", "type": "python", "request": "launch", - "cwd": "${workspaceFolder}", - "program": "src/palhm.py", - "args": [ "-f", "src/conf/py-debug/palhm.jsonc", "boot-report" ], + "cwd": "${workspaceFolder}/src", + "module": "palhm", + "args": [ "-f", "palhm/conf/py-debug/palhm.jsonc", "boot-report" ], "console": "integratedTerminal", "justMyCode": true }, @@ -38,9 +38,9 @@ "name": "palhm run default", "type": "python", "request": "launch", - "cwd": "${workspaceFolder}", - "program": "src/palhm.py", - "args": [ "-f", "src/conf/py-debug/palhm.jsonc", "run" ], + "cwd": "${workspaceFolder}/src", + "module": "palhm", + "args": [ "-f", "palhm/conf/py-debug/palhm.jsonc", "run" ], "console": "integratedTerminal", "justMyCode": true }, @@ -48,11 +48,11 @@ "name": "palhm run check-dnssec", "type": "python", "request": "launch", - "cwd": "${workspaceFolder}", - "program": "src/palhm.py", + "cwd": "${workspaceFolder}/src", + "module": "palhm", "args": [ "-f", - "src/conf/py-debug/palhm.jsonc", + "palhm/conf/py-debug/palhm.jsonc", "run", "check-dnssec" ], -- cgit v1.2.3-70-g09d2