swissChili | aed6ff3 | 2021-05-29 17:51:04 -0700 | [diff] [blame] | 1 | { |
| 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 | { |
swissChili | 9e57da4 | 2021-06-15 22:22:46 -0700 | [diff] [blame] | 8 | "name": "Debug test.lisp", |
| 9 | "type": "cppdbg", |
| 10 | "request": "launch", |
| 11 | "program": "${workspaceFolder}/src/lisp/lisp", |
swissChili | ddc9754 | 2021-07-04 11:47:42 -0700 | [diff] [blame] | 12 | "args": ["test-closures.lisp"], |
swissChili | 9e57da4 | 2021-06-15 22:22:46 -0700 | [diff] [blame] | 13 | "stopAtEntry": false, |
| 14 | "cwd": "${workspaceFolder}/src/lisp", |
swissChili | f68671f | 2021-07-05 14:14:44 -0700 | [diff] [blame^] | 15 | "environment": [ |
| 16 | { |
| 17 | "name": "LISP_LIBRARY_PATH", |
| 18 | "value": "${workspaceFolder}/lib/lisp" |
| 19 | } |
| 20 | ], |
swissChili | 9e57da4 | 2021-06-15 22:22:46 -0700 | [diff] [blame] | 21 | "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 | { |
swissChili | aed6ff3 | 2021-05-29 17:51:04 -0700 | [diff] [blame] | 33 | "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 | } |