xdebug

The xdebug extension is not loaded

Hi guys, I've got xdebug installed fine (showing up in phpinfo()) but I'm trying to get it to work with PHPUnit's code coverage functionality. It keeps telling me "The XDebug extension is not loaded". I've got phpunit working fine with WAMP. When i run php -m i don't see xdebug listed in neither php modules nor zend modules which point...

xdebug with Netbeans and PHP works with project custom domain only if project root is selected

When I debug a PHP project in Netbeans with xdebug, I have to select the project root first, and then click on the debug button. That way it works ok, firing the browser with the project's local domain (not localhost, but one I defined). But if the project root is not selected, suppose some inner folder or file was last clicked on, th...

Debugging PHP - selecting a request for an Xdebug session

Hi, I work on PHP code with NetBeans and Xdebug. I use Xdebug for step-by-step debugging and the like. I'm able to debug the flow of the default request, but not the flows generated by specific _get/_post or Ajax requests. Anybody has an idea how can this be done? When I run the debugger, a tab in my browser opened automatically with...

PHP Netbeans: xdebug stops on every include() or require()

Hi! I've just discovered PHP debugging using xdebug integrated in netbeans IDE and I think it's great! how did I live without it? :) But there's one problem: if I set a breakpoint deep in my code, I have to press "Continue" (F5) several times before I get to a breakpoint, because script stops at every include() and require() functions....

Debugging IDE's port connection to XDebug: "Waiting to Connect"

Preamble Like many, I've spent more hours debugging my IDE’s connection to XDebug than I have using XDebug to debug my programs. I’ve gotten it to work repeatedly, but every once and a while I get the common “Waiting to connect” problem. I haven’t been able to localize what causes XDebug to work or fail. I’ve been using ubuntu for two y...

Using XDebug from terminal (got only SSH access)

When I develop with the server on my workstation I can use XDebug from my IDE and debug variables, etc. Many times the server is on a remote machine where I have only SSH, so I only edit with vi. In that case is there a way to use XDebug? Is there a client I could use from terminal? ...

Breakpoints are completely ignored when debugging CakePHP application

I'm developing in NetBeans a CakePHP application and finally managed to get it connecting to XAMPP debugging sessions (PHP 5.3.1 w/ Xdebug v2.0.6-dev). It perfectly works when launching, it does pause the application on the first line. However any further breakpoint I set is completely ignored. It does not break nor pause; it just runs...

weird aptana php debug redirecting localhost to www.localhost.com

Note: debug (using xdebug) has been working great on this machine for months. Using aptana to debug php app on local machine (win7). Webserver is wamp. Was working fine earlier today, now when I come to step thru app (configured for external firefox browser), shows 1st line of app, session_start. Singlestep that, and firefox comes up wi...

xdebug won't stop at breakpoint

Hello, I spend some hours to set up my IDE to debug PHP with eclipse and xdebug.. Everything is ok except the breakpoint I set on eclipse. If I double-click on a line to add a breakpoint, the debugger want not to stop.. If a add the line xdebug_break() the debugger stops well at the line... It's maybe a problem with the configuration. ...