xdebug

xampp 1.7.4 + winxp + eclipse

前提是你 提交于 2019-12-02 00:31:36
I downloaded the latest Xampp version (1.7.4), installed it under windows XP, disabled the firewall and configured both php.ini and eclipse acording to eclipse installing instructions. When running phpinfo() function both inside and outside eclipse I see Xdebug loaded but when I try to run debug mode in eclipse it freezes at 57% (waiting for xdebug connection). In xdebug log I have: Log opened at 2011-06-20 19:38:30 -> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///C:/xampp/htdocs/test/test.php" language="PHP" protocol_version="1.0" appid=

Xdebug installed but does not display in Phpinfo for Xampp

百般思念 提交于 2019-12-01 23:42:43
I have the latest Xampp and Php 5.3 on Mac Mountain Lion oSX 10.8.2. I just installed Xdebug and configured it in the php.ini. I downloaded from this link and followed the instructions. Also put the following entries in php.ini [Xdebug] zend_extension=”/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/xdebug.so” xdebug.remote_port = 9000 xdebug.profiler_enable = 1 xdebug.profiler_output_dir = "/Applications/XAMPP/xamppfiles/temp" xdebug.remote_handler = "dbgp" xdebug.remote_host = "localhost" xdebug.remote_enable = On xdebug.trace_output_dir = "/Applications

Netbeans Xdebug on Windows 7 “waiting for connection” WAMP

痴心易碎 提交于 2019-12-01 22:03:57
问题 I read a lots of solutions for this common Xdebug 's error, but it did not seems to resolve my issue: netbeans shows “Waiting For Connection (netbeans-xdebug)” Netbeans not connecting with xdebug on Wamp : “showing waiting for connection” in phpinfo() Xdebug seems properly configured: And below is my php.ini : zend_extension = "c:/wamp/bin/php/php5.5.12/zend_ext/php_xdebug-2.2.5 -5.5-vc11-x86_64.dll" ; [xdebug] xdebug.remote_enable=1 xdebug.remote_mode = req xdebug.remote_handler=dbgp xdebug

CakePHP command line doesn't work when xdebug loaded

六月ゝ 毕业季﹏ 提交于 2019-12-01 20:25:59
问题 I'm trying to use xdebug against PHP 7.1.6 to troubleshoot a failing unit test in my CakePHP v3.3.6 project. I've set up xdebug using the following settings: [xdebug] xdebug.remote_enable = on xdebug.remote_host = 127.0.0.1 xdebug.remote_port = 9000 xdebug.remote_autostart = 1 xdebug.profiler_enable = off xdebug.profiler_enable_trigger = off xdebug.profiler_output_name = cachegrind.out.%t.%p xdebug.profiler_output_dir = "c:/wamp/tmp" xdebug.show_local_vars=0 xdebug.max_nesting_level=256 PHP

CakePHP command line doesn't work when xdebug loaded

跟風遠走 提交于 2019-12-01 20:05:12
I'm trying to use xdebug against PHP 7.1.6 to troubleshoot a failing unit test in my CakePHP v3.3.6 project. I've set up xdebug using the following settings: [xdebug] xdebug.remote_enable = on xdebug.remote_host = 127.0.0.1 xdebug.remote_port = 9000 xdebug.remote_autostart = 1 xdebug.profiler_enable = off xdebug.profiler_enable_trigger = off xdebug.profiler_output_name = cachegrind.out.%t.%p xdebug.profiler_output_dir = "c:/wamp/tmp" xdebug.show_local_vars=0 xdebug.max_nesting_level=256 PHP now connects to my xdebug client (VisualStudio Code) but as soon as I run phpunit ./vendor/phpunit

Eclipse Helios not stopping at breakpoints

夙愿已清 提交于 2019-12-01 17:56:43
I recently upgraded from Eclipse Galileo to Helios. Helios stops at breakpoints ONLY when debugging "as a PHP Script", but not when debugging "as a Web Page". When debugging as a web page, it looks like the correct debug query string to start a debug session is getting tacked on to the url, like so: http://localhost/hello.php?XDEBUG_SESSION_START=ECLIPSE_DBGP &KEY=129798139020511 but elipse does not stop at the breakpoints. It just zooms thru the code and displays the output in the browser. This is my xdebug configuration in php.ini that works for Galileo, but is not working for Helios: (click

PHPStorm 使用 Xdebug

≯℡__Kan透↙ 提交于 2019-12-01 17:35:41
一、下载xdebug   xdebug官网:https://xdebug.org/download.php   在选择下载哪个版本的xdebug的时候需要注意了,下面有两种方法,让你准确的下载自己环境对应的xdebug文件:   1>.打印出phpinfo()信息,如下:       然后还要注意一点就是看看自己php对应的版本和操作系统的位数,结合这四点去官网找到对应的xdebug文件(本人是php是7.0.1的版本,文件名:php_xdebug-2.6.0-7.0-vc14-x86_64.dll)   2>.使用xdebug官方提供的一个检测工具:https://xdebug.org/wizard.php          这里就把phpinfo()的信息使用输出出来(注意:使用输出函数,比如var_dump()),然后就会检测你的可以下载对应的版本,如下图:    二、安装并配置xdebug   1>.将下载好的.dll文件放入指定的位置(......\php\php7.0.10\ext\)   2>.配置php.ini配置文件(这里需要注意一点,找对了php.ini文件),在网页上打印出phpinfo()的信息,查看这一条信息:          可以看到是哪个php的配置文件,然后添加一下配置:     [xdebug] zend_extension ="G:

tomcat开启远程调试

江枫思渺然 提交于 2019-12-01 15:50:57
tomcat远程调试 1.Linxu系统: apach/bin/startup.sh开始处中增加如下内容: declare -x CATALINA_OPTS="-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8788" 2.Windows系统: apach/bin/startup.bat开始处中增加如下内容: SET CATALINA_OPTS=-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8788 来源: https://www.cnblogs.com/miaosj/p/11691395.html

xdebug.remote_autostart, remote, and connect_back not turning on

喜夏-厌秋 提交于 2019-12-01 14:45:39
I've spent some time trying to figure out why the autostart, remote , and connect_back settings wont turn on. I've typed in: xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_port=9000 xdebug.remote_autostart=1 xdebug.remote_connect_back=1 ;xdebug.remote_host=192.168.1.108 All this into the php.ini file, restarted servers, and when I check the configuration page on the MAMP page, these settings still read OFF. Any idea why this is... Bit late answer maybe but here's how I solved this issue. For some reason MAMP conf files doesn't affect these settings, what I did was: Go to /MAMP

xdebug.remote_autostart, remote, and connect_back not turning on

China☆狼群 提交于 2019-12-01 13:21:04
问题 I've spent some time trying to figure out why the autostart, remote , and connect_back settings wont turn on. I've typed in: xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_port=9000 xdebug.remote_autostart=1 xdebug.remote_connect_back=1 ;xdebug.remote_host=192.168.1.108 All this into the php.ini file, restarted servers, and when I check the configuration page on the MAMP page, these settings still read OFF. Any idea why this is... 回答1: Bit late answer maybe but here's how I