blob: 2c23b6634c0efe4caa512d93be2fbcae99a1c00b [file] [log] [blame]
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug test.lisp",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/src/lisp/lisp",
"args": ["test-args.lisp"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/src/lisp",
"environment": [
{
"name": "LISP_LIBRARY_PATH",
"value": "${workspaceFolder}/lib/lisp"
}
],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "buildLisp"
},
{
"type": "gdb",
"request": "attach",
"name": "Attach to QEMU",
"executable": "./src/kernel/kernel.elf",
"target": ":1234",
"remote": true,
"cwd": "${workspaceRoot}",
"valuesFormatting": "parseText",
},
{
"name": "Debug lisp repl",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/src/lisp/lisp",
"args": ["${workspaceFolder}/lib/lisp/repl/repl.lisp"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/src/lisp",
"environment": [
{
"name": "LISP_LIBRARY_PATH",
"value": "${workspaceFolder}/lib/lisp"
}
],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "buildLisp"
},
]
}