{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Build: Release",
      "type": "node-terminal",
      "request": "launch",
      "preLaunchTask": "Build: Release",
      "command": "echo 'Build Release terminé !'"
    },
    {
      "name": "Build: Debug",
      "type": "node-terminal",
      "request": "launch",
      "preLaunchTask": "Build: Debug",
      "command": "echo 'Build Debug terminé !'"
    },
    {
      "name": "Clean Build Folders",
      "type": "node-terminal",
      "request": "launch",
      "preLaunchTask": "Clean Build Folders",
      "command": "echo 'Nettoyage terminé !'"
    },
    {
      "name": "Attach to Running Program (No Flash)",
      "type": "cppdbg",
      "request": "launch",
      "program": "${workspaceFolder}/build/debug/bibotron.ino.elf",
      "args": [],
      "stopAtEntry": false,
      "cwd": "${workspaceFolder}",
      "environment": [],
      "externalConsole": false,
      "MIMode": "gdb",
      "miDebuggerPath": "/Users/lea/Library/Arduino15/packages/esp32/tools/xtensa-esp-elf-gdb/16.3_20250913/bin/xtensa-esp32s3-elf-gdb",
      "miDebuggerServerAddress": "10.13.12.168:3333",
      "setupCommands": [
        {
          "description": "Enable pretty-printing for gdb",
          "text": "-enable-pretty-printing",
          "ignoreFailures": true
        },
        {
          "description": "Set remote hardware watchpoint limit",
          "text": "set remote hardware-watchpoint-limit 2",
          "ignoreFailures": false
        }
      ],
      "postRemoteConnectCommands": [
        {
          "description": "Interrupt the running program",
          "text": "interrupt",
          "ignoreFailures": true
        }
      ],
      "serverLaunchTimeout": 20000,
      "serverStarted": "Listening on port 3333 for gdb connections"
    }
  ]
}
