blob: 89da0f730e6d8836ffb6fbb6713033b858b1d700 [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",
swissChili484295d2021-07-09 21:25:55 -070012 "args": ["test-closures.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",
swissChili7e1393c2021-07-07 12:59:12 -070041 },
42 {
43 "name": "Debug lisp repl",
44 "type": "cppdbg",
45 "request": "launch",
46 "program": "${workspaceFolder}/src/lisp/lisp",
47 "args": ["${workspaceFolder}/lib/lisp/repl/repl.lisp"],
48 "stopAtEntry": false,
49 "cwd": "${workspaceFolder}/src/lisp",
50 "environment": [
51 {
52 "name": "LISP_LIBRARY_PATH",
53 "value": "${workspaceFolder}/lib/lisp"
54 }
55 ],
56 "externalConsole": false,
57 "MIMode": "gdb",
58 "setupCommands": [
59 {
60 "description": "Enable pretty-printing for gdb",
61 "text": "-enable-pretty-printing",
62 "ignoreFailures": true
63 }
64 ],
65 "preLaunchTask": "buildLisp"
66 },
67
swissChiliaed6ff32021-05-29 17:51:04 -070068 ]
69}