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