@felmue That was helpful, thanks!
I added this to my platformio.ini:

build_type = debug monitor_filters = default ; Remove typical terminal control codes from input esp32_exception_decoder ; Decode the backtrace