If you’re using XAMPP and trying to get the DBG debugger loaded and working for development purposes, you should read Se stai usando XAMPP e cercando di ottenere il DBG debugger caricato e di lavoro a fini di sviluppo, vi consigliamo di leggere this questo and e this questo . Basically to get DBG debugger loaded when php is run in XAMPP, you got to have Fondamentalmente per ottenere DBG debugger php caricato quando viene eseguito in XAMPP, lei ha avuto modo di

1. php_dbg.dll in xampp_directory/php/ext php_dbg.dll in xampp_directory / php / ext

2. In xampp_directory/apache/bin/php.ini, comment the line starting with zend_extension_ts with a ; In xampp_directory / apache / bin / php.ini, commentare la riga che inizia con zend_extension_ts con uno;

3. In php.ini again, add extension=php_dbg.dll under the [extension] list Nel php.ini nuovamente, aggiungere l'estensione = php_dbg.dll sotto la [estensione] elenco

4. (Re)Start XAMPP now and check phpinfo(), you should see the following message in the header: (Re) Avviare XAMPP ora e controllare la funzione phpinfo (), si dovrebbe vedere la seguente intestazione del messaggio:
with DBG v2.11.30, (C) 2000,2004 by Dmitri Dmitrienko, http://dd.cron.ru v2.11.30 con DBG, (C) 2000,2004 da Dmitri Dmitrienko, http://dd.cron.ru

But that’s only part of the equation. Ma questa è solo una parte dell'equazione. To debug properly in PHP, you need the DBG debugger AND the DBG Listener. Per eseguire il debug correttamente in PHP, è necessario il debugger DBG E la DBG Listener. You can get both debugger and listener at http://www.php-debugger.com/dbg/downloads.php and some installation notes at http://www.php-debugger.com/dbg/installation.php. È possibile ottenere entrambi i debugger e ascoltatore a http://www.php-debugger.com/dbg/downloads.php e alcune note di installazione http://www.php-debugger.com/dbg/installation.php. Now I’m not sure how you can get other IDEs to debug properly with DBG Debugger and DBG Listener (I tried doing so in Ora io non sono sicuro di come si possono ottenere altri IDE per il debug correttamente con DBG Debugger e DBG Listener (ho provato a farlo in HateML and gave up in vain), but since I’m using nusphere PHPEd and they have it all setup for local testing, I’m currently not worried about that (apart from the high price tag). e ha dato fino invano), ma dal momento che sto utilizzando nusphere PHPEd e hanno tutto il programma di installazione di sperimentazione locale, I'm attualmente non preoccupa che (a parte il prezzo elevato dei tag). In fact, nusphere are the ones who wrote and owns DBG debugger. In realtà, nusphere sono quelli che hanno scritto e possiede DBG debugger.

Another popular PHP debugger, XDebug, is open source and seems to be easier to use from what I’ve read so far. Un altro popolare PHP debugger, XDebug, è open source, e sembra essere più facile da utilizzare da quello che ho letto finora.

Please leave a comment if you have other sources/references/experiences where you have got PHP debugging working in your IDE. Si prega di lasciare un commento se si hanno altre fonti / riferimenti / esperienze in cui avete ottenuto il debug PHP IDE nel vostro lavoro.