{
"version": "2.0.0",
"tasks": [
{
"label": "TestUdpServerKernelModeAndLaunchLLDBServer",
"type": "shell",
"isBackground": true,
"problemMatcher": [
{
"pattern": [
{
"regexp": ".",
"file": 1,
"location": 2,
"message": 3
}
],
"background": {
"activeOnStart": true,
"beginsPattern": ".",
"endsPattern": "READY"
}
}
],
"command": "cargo test --no-run --test TestUdpServerKernelMode --package voidio && sudo bash -c 'T=$(ls -t target/debug/deps/TestUdpServerKernelMode-* | head -n1); ln -sf \"$PWD/$T\" $PWD/target/debug/TestUdpServerKernelMode-latest; sudo tools/lldb-server platform --server --listen \"*:54321\" & echo READY'"
}
]
}