Using Platform IO with ESP-Prog on a esp32doit-devkit-v1 , is there a way to set breakpoints in the script.js code?
Hi.
I’m sorry but I’m not familiar with the ESP-Prog on the PIO.
In don’t think I can help much here.
Regards
Sara
Yes, ESP-Prog can be used with the ESP32DOIT-DevKit-V1 board. The ESP-Prog is a universal programmer and debugger that supports a variety of Espressif microcontrollers, including the ESP32. It uses a standard 2×5 pin header interface for programming and debugging, and the ESP32DOIT-DevKit-V1 board has a compatible header that can be used to connect to the ESP-Prog.
To use the ESP-Prog with the ESP32DOIT-DevKit-V1 board, you will need to connect the header pins on the ESP-Prog to the corresponding pins on the board. The pinout for the header on the board is typically labeled as “JTAG” or “DEBUG”, and can be found in the board’s documentation.
Once the connections are made, you can use the ESP-Prog with your preferred development environment to program and debug your ESP32 application code” Source: ChatGPT
Sharing Ralph S Bacon’s video I recently viewed: #261 ESP32 Line-by-line Debugging – works with many ESP32 modules
Internet resources about ESP-Prog debugging
ESP-Prog available from Mouser Electronics
Breadboarding adapter for debugging
Regards,
William
William
I have it working and can set breakpoints and view var’s in the .cpp source. My question was how can I set breakpoints in the .js code
Sorry I did not answer your question. Other forum readers may find out more info about the ESP-Prog and its use and some resources available about the device from my reply.
Respectfully,
William
Thanks William, The links were great information.
If I find my answer I will update the post. My code uses a script.js in the data folder of Platform IO under VS Code. It is loaded to the file system (SPIFFS) It may work if the code was in the main memory stack. I need to try that next.
Jim