diff --git a/.vscode/launch.json b/.vscode/launch.json index 0ed822ad0251a9..660207e6098848 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,6 +4,40 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ + { + "name": "LLDB Debugger: All Clusters App (chip-all-clusters-app)", + "type": "lldb", + "request": "launch", + "expressions": "native", + "sourceMap": { + "/workspace/connectedhomeip/examples/all-clusters-app/linux/third_party/connectedhomeip/src": "/workspace/connectedhomeip/src" + }, + "relativePathBase": "${workspaceFolder}", + "breakpointMode": "path", + "sourceLanguages": ["cpp"], + "reverseDebugging": true, + "preRunCommands": ["platform shell rm /tmp/kvs.bin"], + "program": "${workspaceFolder}/out/linux-x64-all-clusters-no-ble-no-wifi/chip-all-clusters-app", + "args": ["--KVS=/tmp/kvs.bin", "--trace_decode=1"], + "cwd": "${workspaceFolder}/out/linux-x64-all-clusters-no-ble-no-wifi", + "env": { + "_PW_ACTUAL_ENVIRONMENT_ROOT": "${workspaceFolder}/.environment", + "_PW_ENVIRONMENT_CONFIG_FILE": "${workspaceFolder}/scripts/setup/environment.json", + "_PW_ROSETTA": "0", + "PW_ARM_CIPD_INSTALL_DIR": "${workspaceFolder}/.environment/cipd/packages/arm", + "PW_BRANDING_BANNER": "${workspaceFolder}/scripts/setup/banner.txt", + "PW_PACKAGE_ROOT": "${workspaceFolder}/.environment/packages", + "PW_PIGWEED_CIPD_INSTALL_DIR": "${workspaceFolder}/.environment/cipd/packages/pigweed", + "PW_PROJECT_ROOT": "${workspaceFolder}", + "PW_PYTHON_CIPD_INSTALL_DIR": "${workspaceFolder}/.environment/cipd/packages/python", + "PW_ROOT": "${workspaceFolder}/third_party/pigweed/repo", + "PW_ZAP_CIPD_INSTALL_DIR": "${workspaceFolder}/.environment/cipd/packages/zap", + "PATH": "${workspaceFolder}/third_party/pigweed/repo/out/host/host_tools:${workspaceFolder}/.environment/pigweed-venv/bin:${workspaceFolder}/.environment/cipd/packages/arm/bin:${workspaceFolder}/.environment/cipd/packages/arm:${workspaceFolder}/.environment/cipd/packages/zap:${workspaceFolder}/.environment/cipd/packages/pigweed/bin:${workspaceFolder}/.environment/cipd/packages/pigweed:${workspaceFolder}/.environment/cip:${containerEnv:PATH}" + }, + "stdio": [null, null, null], + "terminal": "integrated", + "stopOnEntry": true + }, { "name": "Attach to running process", "type": "lldb",