Low level debug or free memory on wio terminal

I did not explain myself well, I did not intend to debug, but ongli to have the core information like an esp32 with the instruction
Serial2.setDebugOutput (true);
to have all the logs of the central units.

Or a command to recover the available ram memory, in order to investigate the problem.

Thanks RM