Given:
Made a helloworld bot. I can send him a message, he pulls the telegram, the telegram pulls the php script, which sends the message back to the user (also by pulling the telegram).
Task:
I want to see (conveniently and realtime) those json who sends me telegrams and which I send him back.
Possible Solution:
At the moment, I am either writing the necessary data from a php script to a file and uploading it manually from the server to the IDE (or just a file on the PC) after each request. It works, but hell is not convenient.
Question:
How do I best arrange debugging? I'm used to concluding Java in the console sout th)
tail -f /path/to/log.log- etki