fix(vscode): use dynamic interpreter path in launch.json for cross-machine debug

Configs hardcoded .venv-rocm/bin/python (this Linux box's ROCm venv), which
doesn't exist on the Windows dev machine. Switch to
${command:python.interpreterPath} so each machine resolves whatever
interpreter is selected in the VS Code Python extension locally.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Dobromir Popov
2026-07-21 14:09:45 +03:00
parent 505f37dd8d
commit aa148cc7aa

20
.vscode/launch.json vendored
View File

@@ -5,7 +5,7 @@
"name": "Tracker: local (8080)", "name": "Tracker: local (8080)",
"type": "debugpy", "type": "debugpy",
"request": "launch", "request": "launch",
"python": "${workspaceFolder}/.venv-rocm/bin/python", "python": "${command:python.interpreterPath}",
"module": "meshnet_tracker.cli", "module": "meshnet_tracker.cli",
"args": ["start", "--host", "0.0.0.0", "--port", "8080", "--stats-db", "${workspaceFolder}/tracker-stats.sqlite"], "args": ["start", "--host", "0.0.0.0", "--port", "8080", "--stats-db", "${workspaceFolder}/tracker-stats.sqlite"],
"console": "integratedTerminal", "console": "integratedTerminal",
@@ -15,7 +15,7 @@
"name": "Tracker: local + dashboard test runner (8080)", "name": "Tracker: local + dashboard test runner (8080)",
"type": "debugpy", "type": "debugpy",
"request": "launch", "request": "launch",
"python": "${workspaceFolder}/.venv-rocm/bin/python", "python": "${command:python.interpreterPath}",
"module": "meshnet_tracker.cli", "module": "meshnet_tracker.cli",
"args": [ "args": [
"start", "start",
@@ -34,7 +34,7 @@
"name": "Node: no model (7001)", "name": "Node: no model (7001)",
"type": "debugpy", "type": "debugpy",
"request": "launch", "request": "launch",
"python": "${workspaceFolder}/.venv-rocm/bin/python", "python": "${command:python.interpreterPath}",
"module": "meshnet_node.cli", "module": "meshnet_node.cli",
"args": [ "args": [
"start", "--tracker", "http://localhost:8080", "--no-model", "--host", "0.0.0.0", "start", "--tracker", "http://localhost:8080", "--no-model", "--host", "0.0.0.0",
@@ -47,7 +47,7 @@
"name": "Node: Qwen2.5 0.5B full GPU (7010)", "name": "Node: Qwen2.5 0.5B full GPU (7010)",
"type": "debugpy", "type": "debugpy",
"request": "launch", "request": "launch",
"python": "${workspaceFolder}/.venv-rocm/bin/python", "python": "${command:python.interpreterPath}",
"module": "meshnet_node.cli", "module": "meshnet_node.cli",
"args": [ "args": [
"start", "--tracker", "http://localhost:8080", "--model", "qwen2.5-0.5b-instruct", "start", "--tracker", "http://localhost:8080", "--model", "qwen2.5-0.5b-instruct",
@@ -61,7 +61,7 @@
"name": "Node: Qwen2.5 0.5B full CPU (7013)", "name": "Node: Qwen2.5 0.5B full CPU (7013)",
"type": "debugpy", "type": "debugpy",
"request": "launch", "request": "launch",
"python": "${workspaceFolder}/.venv-rocm/bin/python", "python": "${command:python.interpreterPath}",
"module": "meshnet_node.cli", "module": "meshnet_node.cli",
"args": [ "args": [
"start", "--tracker", "http://localhost:8080", "--model", "qwen2.5-0.5b-instruct", "start", "--tracker", "http://localhost:8080", "--model", "qwen2.5-0.5b-instruct",
@@ -75,7 +75,7 @@
"name": "Node: Qwen2.5 0.5B first half (7011)", "name": "Node: Qwen2.5 0.5B first half (7011)",
"type": "debugpy", "type": "debugpy",
"request": "launch", "request": "launch",
"python": "${workspaceFolder}/.venv-rocm/bin/python", "python": "${command:python.interpreterPath}",
"module": "meshnet_node.cli", "module": "meshnet_node.cli",
"args": [ "args": [
"start", "--tracker", "http://localhost:8080", "--model", "qwen2.5-0.5b-instruct", "start", "--tracker", "http://localhost:8080", "--model", "qwen2.5-0.5b-instruct",
@@ -89,7 +89,7 @@
"name": "Node: Qwen2.5 0.5B second half (7012)", "name": "Node: Qwen2.5 0.5B second half (7012)",
"type": "debugpy", "type": "debugpy",
"request": "launch", "request": "launch",
"python": "${workspaceFolder}/.venv-rocm/bin/python", "python": "${command:python.interpreterPath}",
"module": "meshnet_node.cli", "module": "meshnet_node.cli",
"args": [ "args": [
"start", "--tracker", "http://localhost:8080", "--model", "qwen2.5-0.5b-instruct", "start", "--tracker", "http://localhost:8080", "--model", "qwen2.5-0.5b-instruct",
@@ -103,7 +103,7 @@
"name": "Node: Qwen3.6 35B A3B full (7036)", "name": "Node: Qwen3.6 35B A3B full (7036)",
"type": "debugpy", "type": "debugpy",
"request": "launch", "request": "launch",
"python": "${workspaceFolder}/.venv-rocm/bin/python", "python": "${command:python.interpreterPath}",
"module": "meshnet_node.cli", "module": "meshnet_node.cli",
"args": [ "args": [
"start", "--tracker", "http://localhost:8080", "--model", "qwen3.6-35b-a3b", "start", "--tracker", "http://localhost:8080", "--model", "qwen3.6-35b-a3b",
@@ -117,7 +117,7 @@
"name": "API: request Qwen2.5 via local tracker", "name": "API: request Qwen2.5 via local tracker",
"type": "debugpy", "type": "debugpy",
"request": "launch", "request": "launch",
"python": "${workspaceFolder}/.venv-rocm/bin/python", "python": "${command:python.interpreterPath}",
"program": "${workspaceFolder}/scripts/send_api_request.py", "program": "${workspaceFolder}/scripts/send_api_request.py",
"args": [ "args": [
"--url", "http://localhost:8080", "--url", "http://localhost:8080",
@@ -131,7 +131,7 @@
"name": "Ralph: dashboard (test runner PRD)", "name": "Ralph: dashboard (test runner PRD)",
"type": "debugpy", "type": "debugpy",
"request": "launch", "request": "launch",
"python": "${workspaceFolder}/.venv-rocm/bin/python", "python": "${command:python.interpreterPath}",
"program": "${workspaceFolder}/scripts/ralph_progress.py", "program": "${workspaceFolder}/scripts/ralph_progress.py",
"args": [ "args": [
"watch", "watch",