Files
openclaw/.vscode/launch.json
Andrew Porter 9abf01faf0 feat(DX): Add Out-of-the-Box Support for Debugging in VSCode-Based IDEs (#45710)
Merged via squash.

Prepared head SHA: dd5c0c59f2
Co-authored-by: SwissArmyBud <7257907+SwissArmyBud@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
2026-05-05 12:41:28 -07:00

33 lines
983 B
JSON

{
"version": "0.2.0",
"configurations": [
{
"name": "Rebuild and Debug Gateway",
"type": "node",
"request": "launch",
"preLaunchTask": "debug:rebuild",
"program": "${workspaceFolder}/openclaw.mjs",
"args": ["gateway", "run"],
"console": "integratedTerminal",
"skipFiles": ["<node_internals>/**", "node_modules/**"],
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"sourceMaps": true,
"smartStep": true,
"internalConsoleOptions": "openOnSessionStart"
},
{
"name": "Debug Gateway",
"type": "node",
"request": "launch",
"program": "${workspaceFolder}/openclaw.mjs",
"args": ["gateway", "run"],
"console": "integratedTerminal",
"skipFiles": ["<node_internals>/**", "node_modules/**"],
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"sourceMaps": true,
"smartStep": true,
"internalConsoleOptions": "openOnSessionStart"
}
]
}