vscode tasks, better logging, and build numbering
This commit is contained in:
16
.vscode/launch.json
vendored
Normal file
16
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "gdb",
|
||||
"request": "attach",
|
||||
"name": "Attach to QEMU",
|
||||
"preLaunchTask": "(Debug) Build the kernel and run qemu",
|
||||
"executable": "${workspaceFolder}/target/x86_64-unknown-none/debug/CappuccinOS.elf",
|
||||
"target": ":1234",
|
||||
"remote": true,
|
||||
"cwd": "${workspaceRoot}",
|
||||
// "gdbpath": "${workspaceRoot}/target/x86_64-unknown-none/debug/CappuccinOS.elf"
|
||||
}
|
||||
]
|
||||
}
|
||||
25
.vscode/tasks.json
vendored
Normal file
25
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"tasks": [
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "(Debug) Build the kernel and run qemu",
|
||||
"command": "make",
|
||||
"args": [
|
||||
"run"
|
||||
],
|
||||
"options": {
|
||||
"env": {
|
||||
"MODE": "debug",
|
||||
"GDB": "true"
|
||||
},
|
||||
"cwd": "${workspaceRoot}",
|
||||
},
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"version": "2.0.0"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user