In a PHP script responding to a POST request, can you SEE debugging comments (Echo or Print) ? Q&A Forum › Category: Other › In a PHP script responding to a POST request, can you SEE debugging comments (Echo or Print) ? 0 Vote Up Vote Down Chuck Cooper asked 1 year ago Question Tags: PHP debugging from an ESP32 2 Answers 0 Vote Up Vote Down Steve Mercer answered 1 year ago It depends on where the PHP script is running. Is it on a local server? Or hosted? If it’s on a Linux server you can use PHP to write to the log (https://www.php.net/manual/en/function.error-log.php) and then tail the log file. 0 Vote Up Vote Down Rui Santos Staff answered 1 year ago You can follow what Steve suggested, The web page will retrieve the result, so you can echo some data in your request.