This video shows 3 nodes of ESP8266 been debugging at same time!
Use Print commands like Serial and see it with telnet client.
First debug with debug levels.
See it in action in [youtube]https://youtu.be/lOo-MAD8gPo[/youtube]
Please access: https://github.com/JoaoLopesF/RemoteDebug