The following video describes how to debug PHP applications using PHP Xdebug extension and PHPStorm on Ubuntu.
We will see three options on how to debug:
1. Using the URL query parameter which is possible in all browsers.
2. Using bookmarks, which is also possible in all browsers
3. And using chrome extension which is possible only for chrome.
Code to insert into your xdebug.ini file:
zend_extension="xdebug.so"
xdebug.remote_enable = 1
xdebug.remote_port = 9000
xdebug.idekey = PHPSTORM
xdebug.show_error_trace = 1
xdebug.remote_autostart = 0
All options for Xdebug
https://xdebug.org/docs/all_settings
Follow on social media:
/ thecodeholic
/ thecodeholic
https://github.com/thecodeholic
In questa pagina del sito puoi guardare il video online Debugging PHP on Linux with Xdebug and PHPStorm della durata di ore minuti seconda in buona qualità , che l'utente ha caricato The Codeholic 29 luglio 2019, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 39,335 volte e gli è piaciuto 315 spettatori. Buona visione!