Retreiving more information than the error output stream

Is there a way to debug our AIs on CodinGame, other than adding console.error(…) all around the code ?
Which is very frustrating, due to the output size limitation…
Is there another way to gather information on our code execution ?

You may have to test your AIs outside the CodinGame platform. Some players have developed tools for such a purpose, and you may find them here: https://www.codingame.com/forum/c/apps-tools/32