How to use text console from EDI in webpage ?

Hello,
I’m the creator of Blockly@rduino (GitHub - technologiescollege/Blockly-at-rduino: Blockly@rduino : Blockly remix for Arduino. Totally new version, enhanced one !) and I would like to enhance the upload system.

With a python server, I can send command line option to IDE Arduino, but debugging need more information than just “ok/problem”. And I would like to know if someone already succeeded in using text console at bottom of IDE ? Is it wrote in a file ? Any stdout.txt somewhere???

Thanks a lot.

PS : if nodejs or python expert could help to embed more over the IDE in my webpage it would be great !