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 | 484295d | 2021-07-09 21:25:55 -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", |
swissChili | 7e1393c | 2021-07-07 12:59:12 -0700 | [diff] [blame] | 41 | }, |
| 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 | |
swissChili | aed6ff3 | 2021-05-29 17:51:04 -0700 | [diff] [blame] | 68 | ] |
| 69 | } |