Xdebug and Visual Studio Code

Pubblicato il: 13 maggio 2020
sul canale di: DevoMarox
165
5

Xdebug and Visual Studio Code
-- Debugging
Debugging your PHP code can be painful without a debugger. You can use dump($myVar); die(); (😕) but it's not very convenient...

The best way to debug your PHP code is to use Xdebug, a profiler and debugger tool for PHP.

Install Xdebug

Xdebug is not shipped with PHP, you need to install it on your development environment:
sudo apt install php-xdebug
Then add the following lines to the php.ini file:
xdebug.remote_enable = 1
xdebug.remote_autostart = 1


In questa pagina del sito puoi guardare il video online Xdebug and Visual Studio Code della durata di ore minuti seconda in buona qualità , che l'utente ha caricato DevoMarox 13 maggio 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 165 volte e gli è piaciuto 5 spettatori. Buona visione!