47 lines
778 B
JSON
47 lines
778 B
JSON
// Project-local debug tasks
|
|
//
|
|
// For more documentation on how to configure debug tasks,
|
|
// see: https://zed.dev/docs/debugger
|
|
[
|
|
{
|
|
"label": "Build & Run",
|
|
|
|
"adapter": "CodeLLDB",
|
|
"request": "launch",
|
|
|
|
"build": {
|
|
"command": "zig",
|
|
"args": ["build", "-Ddebug=true"],
|
|
},
|
|
|
|
"program": "zig-out/bin/unsquashfs",
|
|
"args": [
|
|
"--force",
|
|
"-d",
|
|
"testing/TestExtractUnsquashfs",
|
|
"testing/LinuxPATest.sfs",
|
|
],
|
|
},
|
|
{
|
|
"label": "Build & Run Single-Threaded",
|
|
|
|
"adapter": "CodeLLDB",
|
|
"request": "launch",
|
|
|
|
"build": {
|
|
"command": "zig",
|
|
"args": ["build", "-Ddebug=true"],
|
|
},
|
|
|
|
"program": "zig-out/bin/unsquashfs",
|
|
"args": [
|
|
"--force",
|
|
"-p",
|
|
"1",
|
|
"-d",
|
|
"testing/TestExtractUnsquashfs",
|
|
"testing/LinuxPATest.sfs",
|
|
],
|
|
},
|
|
]
|