~ruther/avr-shift-registers

dc41622c66801fa10587625d684ff0bcf046d936 — František Boháček 5 years ago b167564
chore: add debugging for vscode
1 files changed, 22 insertions(+), 0 deletions(-)

A .vscode/launch.json
A .vscode/launch.json => .vscode/launch.json +22 -0
@@ 0,0 1,22 @@
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "(gdb) Launch",
            "type": "cppdbg",
            "program": "simavr_shift_registers-atmega8.elf",
            "request": "launch",
            "cwd": "${workspaceRoot}/simavr",
            "serverLaunchTimeout": 10000,
            "MIMode": "gdb",
            "miDebuggerPath": "avr-gdb",
            "miDebuggerServerAddress": "localhost:1234",
            "debugServerPath": "simavr",
            "debugServerArgs": "-t -g -m atmega8 -f 4000000UL ${workspaceRoot}/simavr/simavr_shift_registers-atmega8.elf",
            "filterStdout": true,
            "filterStderr": true,
            "stopAtEntry": true,
            "preLaunchTask": "${defaultBuildTask}"
        }
    ]
}
\ No newline at end of file