aboutsummaryrefslogtreecommitdiff
path: root/.vscode
diff options
context:
space:
mode:
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/extensions.json1
-rw-r--r--.vscode/launch.json14
-rw-r--r--.vscode/tasks.json23
3 files changed, 38 insertions, 0 deletions
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
index 8122897..42538eb 100644
--- a/.vscode/extensions.json
+++ b/.vscode/extensions.json
@@ -4,6 +4,7 @@
"ms-python.python",
"ms-vscode.cmake-tools",
"ms-vscode.cpptools",
+ "webfreak.debug",
"zixuanwang.linkerscript"
]
} \ No newline at end of file
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 0000000..8c56401
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,14 @@
+{
+ "version": "0.2.0",
+ "configurations": [
+ {
+ "name": "(gdb) Attach to QEmu",
+ "request": "attach",
+ "type": "gdb",
+ "executable": "${workspaceFolder}/build/Debug/bin/kernel",
+ "target": "127.0.0.1:1234",
+ "remote": true,
+ "cwd": "${workspaceFolder}",
+ }
+ ]
+} \ No newline at end of file
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
new file mode 100644
index 0000000..db94c63
--- /dev/null
+++ b/.vscode/tasks.json
@@ -0,0 +1,23 @@
+{
+ "version": "2.0.0",
+ "tasks": [
+ {
+ "label": "Boot in QEMU",
+ "command": "qemu-system-x86_64",
+ "type": "shell",
+ "args": [
+ "-S",
+ "-s",
+ "-m",
+ "32M",
+ "-cdrom",
+ "${workspaceFolder}/build/Debug/teachos.iso"
+ ],
+ "presentation": {
+ "reveal": "always"
+ },
+ "group": "none",
+ "problemMatcher": []
+ }
+ ]
+} \ No newline at end of file