Just wondering if you anybody has had much luck getting XDebug working for Drupal 6.14 on Snow Leopard?
I noticed that Snow Leopard seems to come with php 5.3 which some people say should work with Drupal 6.14, though I haven't had any luck.
After that failed, I tried installing php 5.2 using macports (checking out from CVS at a previous revision number). This works fine for php. However, I have had no such luck getting XDebug going.
Any thoughts???
Thanks!
If xdebug is enabled it should show up if you execute a phpinfo();. After xdebug is configured properly you can connect to it using Netbeans. Download the php version here: NetBeans Download. You will have to create a project and point netbeans to your Drupal install. After that you can set breakpoints and press run.
I created a step by step instruction on how to install and enable Xdebug with Netbeans:
http://lucwollants.wordpress.com/2010/10/10/xdebug-and-snow-leopard-more-cake/
Hope this can also help!
Related
I've being working with XAMPP (PHP 7.4) and using Xdebug without any problem. But recently I installed another XAMPP to have a different version of PHP (PHP 8) on the same device.
Maybe installing 2 XAMPPs is not the best solution but it works for me. The problem is that even though I've tried to install Xdebug on this new XAMPP, it doesn't work. It doesn't show any errors, it just doesn't stop on the breakpoints I've put.
I downloaded the correct version of the Xdebug dll from the official page and followed the same steps I followed the first time I installed it on the PHP 7.4 XAMPP. BTW, the old XAMPP still works and has no problem debugging.
What am I missing? Thanks in advance.
i have tried to install xdebug on my mac using home-brew everything seems alright, with no errors, but when i execute phpinfo method i don't find debug module there, i have tried million times with no success, so i have read an answer here in StackOverFlow for the same reason which suggests follow these instructions http://xdebug.org/wizard.php i have copied all code source of phpinfo page, and they gave me detailed instructions, i have followed there guide with no errors after restarting my server and refresh phpinfo page, and still no xdebug !!
php.ini - http://pastebin.com/RLyzXJ9z
phpinfo() code source - http://pastebin.com/H8XVX5GG
Based on your comments, the version of Xdebug isn't the one that matches the version of php running in either your Apache mod_php or your php-fpm (if you're on nginx).
I'm guessing if you used brew, your CLI php is really in /usr/local/something... and that matches the version for your xdebug. On the other hand you whatever PHP flavor you're using for your webserver to work with is different.
My vote would be to ditch the local php or brew installed version and use something like MAMP that runs 100% it's own libraries. Adding Xdebug to MAMP is pretty well documented if you google for it.
I am using Windows 7 and XAMMP 1.7.4. I am confused on how to enable Xdebug. Googling suggested to download xDebug dll , but there are different version of dll on Xdebug site , which confusing me.
Moreover there is Zend debugging and then there Xdebug which one to use ??
How can i enable debugging in Xdebug.
You can follow this tutorial on getting started with xdebug : http://devzone.zend.com/article/2803-Introducing-xdebug
Xdebug and ZendDebug are two separate debuggers, it's up to you to decide which one to use. Either one is pretty easy to setup. Only a couple of steps in Eclipse.
Post the content from your php info page into this page to find out which version to download : http://www.xdebug.org/find-binary.php
Just match your PHP version and OS version. Windows is generally the *VC6 version
hey
im trying to debug drupal with xdebug , here is the system info:
PHP Version 5.2.10-2ubuntu6
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
the thing is that im working via local network so my machine is like 192.168.1.100 and the server is 192.168.1.101
is there a way to debug it using xdebug ? i can use zend studio 8 or eclipse pdt or whatever software you can recommend to do this
please help me
I once setup the Drupal debugging environment with xdebug under windows. Not sure whether it applies to Ubuntu as well. But you can take a look and try. Don't forget to post your feedback here (or directly reply to my blog there:). Here's the link
Update: got it working on my Ubuntu 10.10. Basically the steps in the above links are fine, except you might need to build the xdebug your self, which is quite well documented in its documentation.
Yes, it is quite easy to set up if you follow the xdebug instructions. Just make sure that the xdebug port is available over the network (in your xdebug.ini) and that it is enabled and it will work as if it were installed locally.
Is it possible to debug PHP projects on Glashfish with NetBeans 6.8 without installing Apache server?
After I press CTRL+F5 im getting 404 not found error.
As ASP.NET developer I have (I think) similiar developer server bundled with Visual Studio, so there is no need to install any other server like IIS. Am I right that Glassfish is similiar developer server, so why Im getting 404?
Thanks
Darek
From Netbeans page.
To successfully debug PHP applications in the NetBeans IDE for PHP, you need to have the PHP engine, the Apache local web server, and the XDebug debugger installed and configured for PHP development. If you have difficulties getting XDebug to work, see the NetBeans wiki on XDebug and/or ask the community at users#php.netbeans.org.
I hope it helps