{
  // 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": "(gdb) Launch",
      "type": "cppdbg",
      "request": "launch",
      "program": "${workspaceFolder}/snakePlus.elf",
      "targetArchitecture": "arm",
      "preLaunchTask": "gdb-debug",
      "postDebugTask": "stop-emulation",
      "serverLaunchTimeout": 10000,
      "stopAtEntry": true,
      "cwd": "${workspaceFolder}",
      "environment": [],
      "externalConsole": true,
      "MIMode": "gdb",
      "miDebuggerPath": "${env:DEVKITPRO}/devkitARM/bin/arm-none-eabi-gdb",
      "miDebuggerServerAddress": "localhost:3333",
      "setupCommands": [
        {
          "description": "Enable pretty-printing",
          "text": "file ${workspaceFolder}/snakePlus.elf -enable-pretty-printing",
          "ignoreFailures": true,
        },
      ],
    },
  ],
}
