Timeline for How to print to server console, not to browser or browser console [duplicate]
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 5, 2019 at 11:27 | history | closed | CommunityBot | Duplicate of How to print a debug log? | |
Jun 5, 2019 at 10:55 | comment | added | Jeppe | @KumarPraveen Read the question, OP already demonstrates that logging to client-side is possible. | |
Jun 5, 2019 at 10:54 | comment | added | Kumar Praveen | Or you can echo "<script>console.log('<?php $error ?>'')</script>"; | |
Jun 5, 2019 at 10:50 | comment | added | Kumar Praveen | No you cant show it in console as error is processed in serverside. you can see client side error in console or response error in console | |
Jun 5, 2019 at 10:49 | comment | added | Professor Abronsius |
you can call error_log - php.net/manual/en/function.error-log.php
|
|
Jun 5, 2019 at 10:45 | comment | added | Maciej Kwas | take a look: php.net/manual/en/debugger.php | |
Jun 5, 2019 at 10:42 | comment | added | Jeppe | Maybe this is relevant/duplicate: How to print a debug log? | |
Jun 5, 2019 at 10:37 | history | asked | Hendrik Jan | CC BY-SA 4.0 |