1{
2    "version": "0.2.0",
3    "configurations": [
4        /**
5         * Install this extension to run:
6         * https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb
7         */
8        {
9            "type": "lldb",
10            "request": "custom",
11            "name": "Debug with Prebuilt",
12            "preLaunchTask": "Run with Prebuilt",
13            "initCommands": [
14                "command script import ./build-root/build-qemu-generic-arm64-test-debug/lldb_support.py",
15                "initialize_kernel_lldb_module",
16                "breakpoint set -n trusty_thread_start -C trusty_thread_start_hook"
17            ],
18            "processCreateCommands": [
19                "gdb-remote 1234",
20                "breakpoint set -n relocate_kernel -C relocate_kernel_hook",
21                "c"
22            ],
23            "postDebugTask": "Send SIGINT to qemu.py"
24        }
25    ]
26}
27