You need to start making more of an effort in communication. Maybe you think you are saving time by only writing a handful of words in each post, but I can assure you that is not the case. You need to understand that the helpers here can't see your computer. The only information we have to work with is what you provide us. If you don't provide the necessary information then we won't be effective in providing assistance.
Did you ever fix the problem of the "Start Debugging" button being disabled? If not, then you need to focus on solving that. If you did fix it, then start the debugger by clicking that button. The button on the activity bar on the left side of the Arduino IDE window only opens and closes the "DEBUG" panel. The "Start Debugging" button on the toolbar initializes the debugger and then opens the "DEBUG" panel, so the two are not equivalent.
I'm having the same problem as 1robotics. I'm running 2.3.2, I have an Adafruit ItsyBitsy esp32, and I get the same error:
CDRTOSConfigure
embedded:startup.tcl:28: Error: Can't find debug.cfg
in procedure 'script'
at file "embedded:startup.tcl", line 28
What do we need to do? Also, ehere can I find startup.tcl?
Hi @saustin98. There was a major reworking of the debugger configuration system in Arduino IDE 2.3.0. Due to the unusual implementation of the debugging configuration used by the "esp32" platform to overcome limitations of the initial system, debugging support is temporarily lost for ESP32-based boards when using Arduino IDE versions 2.3.0 and newer.
The platform has already been migrated to the new system:
So now the only thing we are waiting for is a new release of the platform. Once that happens, you will be able to update the "Arduino ESP32 Boards" platform via the Arduino IDE Boards Manager as usual and
debugging will work in the latest versions of Arduino IDE.
For now, please use Arduino IDE 2.2.1 when you want to use the debugger with the Nano ESP32 or other ESP32-based boards.
I'll provide instructions you can follow to install Arduino IDE 2.2.1:
From the list of download links under the "Assets" section of the page, click the link with the name:
If you are using Linux: arduino-ide_2.2.1_Linux_64bit.AppImage (or arduino-ide_2.2.1_Linux_64bit.zip if you prefer using the ZIP package).
If you are using macOS: arduino-ide_2.2.1_macOS_64bit.dmg
If you are using Windows: arduino-ide_2.2.1_Windows_64bit.exe (or arduino-ide_2.2.1_Windows_64bit.msi / arduino-ide_2.2.1_Windows_64bit.zip if you prefer those packages]
Wait for the download to finish.
Install Arduino IDE from the downloaded file as you would normally do.
When using Arduino IDE 2.2.1, you will find that Arduino IDE periodically shows an "Update Available" dialog to offer you an update to the newer version of Arduino IDE. You must not accept these updates until after you see that a new version of the "esp32" boards platform has been released.