xdebug

Waiting for connection(netbeans-xDebug)-php-XAMPP

ε祈祈猫儿з 提交于 2019-12-08 18:27:30
I tried to use netbeans to debug php program. And the xdebug is not working. What I have tried is Go to http://xdebug.org/wizard.php to analyse my phpinfo() . I downloaded php_xdebug-2.4.0rc2-5.6-vc11.dll and put it into C:\xampp\php\ext I also modified php.ini(I am sure it is the correct file) like zend_extension = "C:\xampp\php\ext\php_xdebug-2.4.0rc2-5.6-vc11.dll" xdebug.profiler_append = 0 xdebug.profiler_enable = 1 xdebug.profiler_enable_trigger = 0 xdebug.profiler_output_dir = "C:\xampp\tmp" xdebug.profiler_output_name = "cachegrind.out.%t-%s" xdebug.remote_enable = 1 xdebug.remote

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

馋奶兔 提交于 2019-12-08 16:33:34
问题 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 NOT showing Xdebug as being loaded. However, (now here's the crazy part), if I go to my Apache bin directory, and simply run httpd.exe, and then go and look at

Can't locate xdebug.so on linux

老子叫甜甜 提交于 2019-12-08 16:00:14
问题 I'm having some problems getting xdebug running on ElementaryOS (Ubuntu 16.04.2) with php7, and Apache2. I installed it with sudo apt-get install php-xdebug . The install didn't report any errors. I've added xdebug.remote_enable=1 xdebug.remote_host=127.0.0.1 xdebug.remote_connect_back=1 ; Not safe for production servers xdebug.remote_port=9000 xdebug.remote_handler=dbgp xdebug.remote_mode=req xdebug.remote_autostart=true to /etc/php/7.0/apache2/php.ini . I also need to add the xdebug.so file

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

孤者浪人 提交于 2019-12-08 15:22:44
问题 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. My includes look like that: <?php require_once('include/config.inc.php'); require_once('include/forms.inc.php'); ?> Is it a bug, or I can disable this behavior, so

Unreadable var_dump in Firebug when xdebug is enabled

偶尔善良 提交于 2019-12-08 14:54:32
问题 Xdebug displays "var_dump" in its own way with more useful information, but in Firebug is unreadable. I was wondering if there was a way to display the var_dump in Firebug to make it readable without disabling xdebug and also keeping the display of the var_dump made by xdebug in PHP. Examples of var_dump displayed in Firebug: $test = array('id' => '42', 'name' => 'Mao'); var_dump($test); Default : array(2) { ["id"]=> string(2) "42" ["name"]=> string(3) "Mao" } Xdebug : <pre class='xdebug-var

Debugging using PHP 5.3.8

耗尽温柔 提交于 2019-12-08 08:21:49
问题 I used Xdebug for debugging in PHP v7. The way I did that its not working for PHP version 5.3.8. From the https://xdebug.org/wizard.php page, when I paste phpinfo() text it shows error: The compiler (MS VC9) that this PHP was build with, is no longer supported. Please upgrade to a version that was built with MS VC11 or MS VC14. How to debug using PHP v5.3.8 回答1: Download an older version for the matching PHP version: https://xdebug.org/download.php. They may not be supported anymore, but old

How to debug a web service written in PHP?

僤鯓⒐⒋嵵緔 提交于 2019-12-08 08:19:11
问题 I've got a nice question here :) I need to debug my web service written in PHP. Its client is written in C#. After a couple of days of searching I realized this is not an easy task. At least it seems nobody knows the right solution. What is the problem in, actually? We have 2 popular PHP debugging libraries : PHP Debugger from NuSphere and XDebug extension. The problem is they both are controlled from URL query string or with the help of cookies. For example, to enable debugging with PHP

Xdebug with SSH tunnel on Docker for Mac

旧街凉风 提交于 2019-12-08 06:26:15
问题 I was reading a lot of posts from the Docker community recently on how to debug PHP application in the PHPStorm with the Docker for Mac. All of them contains pieces of useful information, but haven’t seen working solution in one place. 回答1: Here is what did work for me. Inside Docker Container Edit xdebug configuration # automatically start debugger on every request xdebug.remote_enable=1 xdebug.remote_autostart=1 xdebug.remote_port=9000 # send all debug requests to 127.0.0.1, remote_connect

xdebug, eclipse, centos, remote debugging - unable to stop at breakpoints

冷暖自知 提交于 2019-12-08 05:46:12
问题 dev machine mac laptop, 10.8.3 eclipse, Juno SR2 php pdt 3.1.2.2012 remote machine parallels, vm, CentOS 6.3 php 5.4.14 xdebug /etc/php.ini file [xdebug] zend_extension=/usr/lib64/php/modules/xdebug.so xdebug.remote_enable=1 xdebug.remote_handler="dbgp" xdebug.remote_mode=req xdebug.remote_port=9000 xdebug.remote_host="10.211.55.3" xdebug.remote_log=/tmp/xdebug_remote_log xdebug.remote_connect_back=1 The PHP files all live on the remote machine and are mapped into a project in eclipse (i.e. i

XAMPP 1.7.3, Eclipse PDT & XDebug - Debugging a PHP web page in Eclipse never stops at breakpoints

╄→尐↘猪︶ㄣ 提交于 2019-12-08 03:47:33
问题 My development web server is currently a XAMPP 1.7.3 on my localhost (Win XP). I just set up my Eclipse 3.6 PDT with XDebug . It works fine, if I debug a file as a "PHP script", but when it comes to debugging it as a "PHP web page", XDebug ignores the breakpoints completely. Only a manually inserted xdebug_break() inside the code stops the debugger. This isn't very useful, if you want to use conditions with Eclipse's breakpoints. Here my config: php.ini: zend_extension = "C:\xampp\php\ext\php