From e16f4e75af9922ff59260c3605ddd0056ad2abb9 Mon Sep 17 00:00:00 2001 From: Joe Tretter Date: Tue, 22 Sep 2020 16:35:54 -0500 Subject: [PATCH] xxxx --- .vscode/tasks.json | 13 +++++++++++++ platformio.ini | 7 ++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .vscode/tasks.json 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