os_kernel_lab/.vscode/tasks.json

43 lines
1.2 KiB
JSON
Raw Normal View History

2024-03-24 11:44:54 +08:00
{
"tasks": [
{
"label": "make gdb",
"type": "shell",
"command": "bash ${workspaceFolder}/background.sh",
"isBackground": true,
"options": {
"env": {
"DISPLAY": ":0",
},
"cwd": "${workspaceFolder}/labcodes_answer/lab1_result"
},
"problemMatcher": [
{
"pattern": [
{
"regexp": ".",
"file": 1,
"location": 2,
"message": 3
}
],
"background": {
"activeOnStart": true,
"beginsPattern": "starting QEMU",
"endsPattern": "starting QEMU",
}
}
]
},
{
"label": "shutdown gdb",
"type": "process",
"command": "pkill",
"isBackground": false,
"args": ["qemu-system-i38"], // 我也不知道为什么这个进程名字是i38而不是i386
},
],
"version": "2.0.0"
}