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