diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..f6fcc3e --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,13 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "type": "PlatformIO", + "task": "Pre-Debug", + "problemMatcher": [ + "$platformio" + ], + "label": "PlatformIO: Build in debug mode" + } + ] +} \ No newline at end of file diff --git a/platformio.ini b/platformio.ini index 3a67b5d..941686b 100644 --- a/platformio.ini +++ b/platformio.ini @@ -14,4 +14,9 @@ board = esp32doit-devkit-v1 framework = arduino lib_deps = xose/FauxmoESP@^3.1.0 -monitor_speed = 115200 \ No newline at end of file +monitor_speed = 115200 + + +debug_tool = esp-prog +upload_protocol = esp-prog +debug_init_break = tbreak setup \ No newline at end of file