blob: a8d2c36dfe6c2f9f62daa9b499666b43d0039b1e [file] [log] [blame]
swissChiliaed6ff32021-05-29 17:51:04 -07001{
2 // Use IntelliSense to learn about possible attributes.
3 // Hover to view descriptions of existing attributes.
4 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5 "version": "0.2.0",
6 "configurations": [
7 {
swissChili9e57da42021-06-15 22:22:46 -07008 "name": "Debug test.lisp",
9 "type": "cppdbg",
10 "request": "launch",
11 "program": "${workspaceFolder}/src/lisp/lisp",
swissChili15f1cae2021-07-05 19:08:47 -070012 "args": ["test-args.lisp"],
swissChili9e57da42021-06-15 22:22:46 -070013 "stopAtEntry": false,
14 "cwd": "${workspaceFolder}/src/lisp",
swissChilif68671f2021-07-05 14:14:44 -070015 "environment": [
16 {
17 "name": "LISP_LIBRARY_PATH",
18 "value": "${workspaceFolder}/lib/lisp"
19 }
20 ],
swissChili9e57da42021-06-15 22:22:46 -070021 "externalConsole": false,
22 "MIMode": "gdb",
23 "setupCommands": [
24 {
25 "description": "Enable pretty-printing for gdb",
26 "text": "-enable-pretty-printing",
27 "ignoreFailures": true
28 }
29 ],
30 "preLaunchTask": "buildLisp"
31 },
32 {
swissChiliaed6ff32021-05-29 17:51:04 -070033 "type": "gdb",
34 "request": "attach",
35 "name": "Attach to QEMU",
36 "executable": "./src/kernel/kernel.elf",
37 "target": ":1234",
38 "remote": true,
39 "cwd": "${workspaceRoot}",
40 "valuesFormatting": "parseText",
41 }
42 ]
43}