xdebug

Why does xdebug crash apache on every XAMPP install I've tried?

☆樱花仙子☆ 提交于 2019-12-03 05:19:43
问题 I've installed the Windows XAMPP package on three separate computers, 2 running Windows Vista 32 bit ( 1 Ultimate / 1 Home Premium ) and 1 running Windows Vista 64 Home Premium. After enabling xdebug in php.ini and restarting apache, viewing the default XAMPP localhost index causes apache to crash in the same way every time, reporting 'php_xdebug.dll' as the Fault Module Name. Here's the full report from the Windows Crash Reporter thing: Problem signature: Problem Event Name: APPCRASH

What does “XDEBUG NOT LOADED AS ZEND EXTENSION” warning means?

血红的双手。 提交于 2019-12-03 05:17:17
Xdebug is loaded, but not loaded as a zend extension. What does it mean? How to resolve this problem? This error means that you used "extension=" to load Xdebug. That could be in your normal php.ini, or in a file called xdebug.ini that some distributions like to add. In any case, Xdebug needs to be loaded as a Zend extension for certain features such as single step debugging. As Xdebug is not meant to work as a normal extension, it might crash and burn too. The syntax for loading Xdebug as Zend extension depends on PHP version and build. I would suggest you use http://xdebug.org/wizard.php to

Remote Debugging with XDebug from inside a Docker Container does not work

♀尐吖头ヾ 提交于 2019-12-03 05:00:00
I'm trying to setup a dockered AMP environment and can't get the remote debugger working. My setup is as follows: I have a database container running mysql which is working like a charm. I built a Docker image 'phpmysqli' with the following Dockerfile FROM php:apache RUN docker-php-ext-install mysqli mbstring # zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so RUN pecl install xdebug RUN echo 'zend_extension = /usr/local/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so' >> /usr/local/etc/php/php.ini RUN touch /usr/local/etc/php/conf.d/xdebug.ini; \ echo

PHP composer xdebug warning

别来无恙 提交于 2019-12-03 04:15:20
问题 New to PHP. Working on a PHP project and have xdebug enabled to be able to debug my php applications. The production server does not have xdebug enabled because it is handled by another team. On my local machine, when I run composer it gives me a warning saying You are running composer with xdebug enabled. This has a major impact on runtime performance. I do not want to disable xdebug when I am developing. Just wanted to confirm that running xdebug in dev environment should have no impact on

XDebug: how to debug remote console application?

半腔热情 提交于 2019-12-03 03:25:46
问题 I have read this docs: http://xdebug.org/docs/remote I can debug my web application. But the debugger doesn't launch for console command. My .ini file for XDebug (it works): $ cat /etc/php5/fpm/conf.d/xdebug.ini zend_extension=/usr/lib/php5/20090626/xdebug.so xdebug.idekey="PHPSTORM" xdebug.remote_connect_back=1 xdebug.remote_enable=1 .ini file for cli is the same. Also I tried to add export XDEBUG_CONFIG="idekey=PHPSTORM remote_enable=1 remote_connect_back=1" before debugging, but it didn't

Debugging IDE's port connection to XDebug: “Waiting to Connect”

独自空忆成欢 提交于 2019-12-03 03:06:39
问题 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 years; I’m neither a noob nor an strace guru. What am I doing wrong? How can I better debug my IDE’s connection to XDebug? Setup Ubuntu 10.10 Netbeans 6.9.1

Code Coverage tools for PHP [closed]

匿名 (未验证) 提交于 2019-12-03 03:06:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Is there any code coverage tool available for PHP? I wish to check the code coverage of my code and API's written in PHP, but have not been able to lay my hands on any code coverage tool for PHP, as it is more of a server side language and dynamic in nature. Does anyone know of a method by which code coverage for PHP can be executed? 回答1: xdebug has Code Coverage Analysis . Check this chapter of the PHPUnit Manual 回答2: See our PHP Test Coverage tool from Semantic Designs: http://www.semanticdesigns.com/Products/TestCoverage/PHPTestCoverage

PHPStorm - Invalid descendent file name

匿名 (未验证) 提交于 2019-12-03 03:05:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm attempting to sync my local PHPStorm project from my Windows 7 PC with my Ubuntu server. When I try any kind of connection (e.g. "Test SFTP connection"), it fails with Invalid descendent file name "C:\nppdf32Log\debuglog.txt" the folder mentioned doesn't exist on my Windows machine, and of course not on my Ubuntu server. Even the most basic operation connecting to the Ubuntu server is failing because of this - Jetbrains support suggested asking here, so does anyone have a clue? 回答1: You have a file on your Ubuntu server with that C:

Failing to build xdebug

匿名 (未验证) 提交于 2019-12-03 03:03:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I am trying to install xdebug with MAMP on my Mac. I downloaded xdebug-2.2.1.tgz and followed the xdebug wizard to run phpize. I ran make then I was told of some missing files in /Applications/MAMP/bin/php/php5.4.4/include/php/Zend/* . So, I googled that and I saw I had to download php5.4.4 and then push some files in a new 'include' directory I created in /Applications/MAMP/bin/php/php5.4.4/include/php . But when I try to build again, I have this message : /Applications/ MAMP / bin / php / php5 . 4.4 / include / php / Zend / zend

Waiting For Connection (netbeans-xdebug) MAMP OS X

不打扰是莪最后的温柔 提交于 2019-12-03 02:58:38
Preamble After many hours, I have been unable to get NetBeans to connect to xdebug. Some months ago, after upgrading from an old version of MAMP to MAMP PRO, debugging worked flawlessly. A week ago it started getting flakey. It would appear to connect but would not stop at the breakpoints. Restarting NetBeans (v7.0.1) and apache sometimes got it working for a short time. I really needed it fixed so I installed the latest version of MAMP PRO (2.1.2). Now I get the Waiting For Connection message forever. Testing I have done While the Waiting For Connection message is there with the moving bar, I