diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..f5261afe --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,29 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "type": "lldb-dap", + "request": "launch", + "name": "crystal: debug current file (lldb)", + // "preLaunchTask": "crystal: build current file (debug)", + "program": "${workspaceFolder}/invidious", + "args": [], + "cwd": "${workspaceFolder}", + "initCommands": [ + "command script import ${workspaceFolder}/crystal_formatters.py" + ] + }, + { + "type": "gcc", + "request": "launch", + "name": "crystal: debug current file (gdb)", + // "preLaunchTask": "crystal: build current file (debug)", + "program": "${workspaceFolder}/invidious", + "args": [], + "cwd": "${workspaceFolder}", + "initCommands": [ + "command script import ${workspaceFolder}/crystal_formatters_gdb.py" + ] + } + ] +}