xdebug

Debugging Wordpress with Netbeans & XDebug

I'm trying to debug a Wordpress site with Netbeans using XDebug. I can get it to hit a breakpoint on the index.php page, but it won't break on any other page. Has anyone else run into this issue? If I debug a concrete5 site or something it works beautifully. So it has to be something with how Wordpress works. ...

Using XDebug for Drupal 6.14 on Snow Leopard?

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 previo...

Using XDebug to trace a PHP web service page

I'm using Eclipse and XDebug to develop a PHP application that relies on web services. I have test pages that consume my services in 2 ways: AJAX (using jQuery) and cURL. I add breakpoints to my service page and launch the debugger. When I call the the service from AJAX, execution stops nicely at the breakpoint, and I get my variables, ...

Passing PHP arguments into NetBeans into a page that features symfony url-routing

I am doing the Jobeet tutorial that features url routing. The url routing (I think that's the proper term) makes urls look like this http://localhost:8080/frontend_dev.php/job/extreme-sensio/paris-france/2/web-designer I would like to debug into this page however I cannot properly pass arguments into NetBeans. I set the arguments in...

Setting breakpoint w/Eclipse PDT

I am SOOOOO discouraged. This seems so simple, but being a complete novice in Drupal and Eclipse PDT I have absolutely no idea where to look. My DAYS of searching seems to indicate that I am the only person on the planet with this problem. Eclipse IDE for PHP Developers (1.2.1.20090918-0703) WampServer Version 2.0 Apache 2.2.11 PH...

Debugging with xdebug, netbeans and a mounted remote server

Hi, I've using Netbeans to develop on a windows machine, the files I'm editing are on a remote LAMP server. The document root is mounted on my windows machine as a drive letter (Y:). So, netbeans things I'm developing locally, whereas I'm actually developing remotely on a local mount. My problem starts when I want to use xdebug and net...

How to initiate a debug session from a random request in Eclipse PDT with XDebug?

Hi, I use the combination of Eclipse PDT and XDebug very successfully to develop and debug my applications. So thanks to their creators, and if you haven't tried this combination, I strongly suggest you do. The only thing bugging me is, that I couldn't find a way to start a debug session by requesting a random script right in my browse...

unreadable var_dump() output on Snow Leopard?

I have xdebug configured as shown below but the error-output is totally unreadable. Do you have an idea what's wrong with the setup? TIA & best regards Setup: Apache/2.2.13 (Unix) PHP/5.3.0 on Snow Leopard Server Config from php.ini: xdebug.remote_autostart=0 xdebug.remote_enable=1 xdebug.remote_host=10.0.1.9 xdebug.remote_connect_ba...

No program counter in NetBeans when debugging

I just started using NetBeans 6.8 with XDebug for some remote debugging I need to do. I think I have everything configured correctly, but I don't see a program counter while I'm debugging, so I have no visual indicator of what line is about to be executed. Normally, it should show a green arrow in the gutter, and a background color on ...

phpunit xdebug reporting

Hi there. I am trying to produce an html report of some tests using PHPUnit, Selenium and Xdebug. I run the test like so: phpunit --coverage-html ./report blah.php But the report generated is somewhat lacking in information and it doesn't seem to coincide with the official documentation here. I just get a green bar with "100.00% | ...

Can't use Xdebug to debug Code Igniter App using Netbeans 6.8 IDE

Hello guys. I can't use Xdebug to debug a application built with Code Igniter, but i can use it to debug any other PHP file as long it doesn't use the same Structure for url solving that Code Igniter uses. Meaning: In a simple PHP file with no Code Igniter, when i use NetBeans debugging the browser goes to: http://localhost:86/index.ph...

Is it possible to use PDT to debug through a tunnel with XDebug?

I'm trying to debug using PDT and Xdebug over a tunnel and haven't been able to get PDT to connect properly. I do not have PHP installed on the machine I am developing on and would like to connect to the XDebug instance that is running on my development machine that is not able to talk directly with my machine. ...

Recommend me a good Debugging client for Windows

I have used MacDBG for debugging PHP scripts with XDebug and have been very happy with it. However, I have been forced to use Windows and haven't been able to find a comparable debugging client. Are there any suggestions? ...

Installing Xdebug for PHP on Ubuntu with XAMPP

I'm running XAMPP 1.7.3a on Ubuntu 9.10. With Netbeans 6.7.1 as my editor, I want to be able to debug my PHP sites. To do this, I looked up Xdebug and started following the installation instructions, found here: http://xdebug.org/docs/install. Trying to compile the .tgz file, run in to a problem. Step 3) I can execute that, but what u...

Apache not loading Xdebug, but does when started from the Command Line

I know that this sounds odd, but believe me, it's what is happening. Here are my system settings: Windows7 Apache 2.2 PHP 5.2.12 Xdebug 2.0.5 I have XDebug configured in my PHP.ini file. When I run php -m, I do in fact see that Xdebug is loaded. Now, if I start Apache AS A SERVICE (or by the Apache Monitor), and run phpinfo(), it is ...

XDebug not working; extension_dir duplicated

I'm trying to get XDebug to work with PHP 5.2.11 installed with MacPorts on OSX Snow Leopard. I installed Pear with go-pear, then used PECL to install XDebug. I copied xdebug.so that it compiled to the extension_dir, /opt/local/lib/php/extensions/no-debug-non-zts-20060613/. I have an xdebug.ini file which (according to phpinfo) is loadin...

Netbeans 6.8 xdebug gives error “Can not debug missing index file index.php” in Zend Framework project

My Xdebug is properly configured as I could see in phpinfo(). But when I debug a project a Netbeans6.8, I get “Can not debug missing index file index.php” warning. Then another bigger settings window opens up as in this image. And, yes, index.php file is there. It's not missing. How can I fix it? Apache web_root: e:\htdocs Project hom...

Xdebug issue with Eclipse PHP

Hi! I am currently trying to setup Xdebug on an XP computer with Eclipse PHP installed. I am using WAMP and I'll think I have done everything by the book (as intended by several tutorials online), but when I'll try to execute the Debugging and start the session, nothing happens, which also is notified by Eclipse. Another tab is opened w...

Debugging Zend Framework project with NetBeans / XDebug

Hello, Has anyone been able to set up NetBeans debugging of a Zend Framework project? I have XAMPP running locally on my machine, as well as NetBeans 6.8. From the looks of phpinfo(), XDebug is properly installed on XAMPP. I start debugging session with NetBeans, it connects to XDebug and the page opens, however it will not stop at any ...

Xdebug with PHP 5.2 on 64-bit Windows 7?

I would like to install Xdebug (http://xdebug.org/) on my 64 bit Windows 7 machine to debug Drupal code running on PHP 5.2. The Xdebug download page does not provide a download for a 64 bit version compatible with PHP 5.2. Many Drupal modules are not compatible with PHP 5.3, so it is not an option to switch to a later version of PHP. W...