xdebug

Attaching Netbeans to XDebug on XAMPP Webservice fails

早过忘川 提交于 2019-12-11 19:20:13
问题 I would like to debug a webservice which is called from my C#/.Net Application using XAMPP 1.8.1 and Netbeans 7.3. Whereas the integrated debugging works fine with Netbeans I can't attach the debugger manually to intercept the calls to the webservice functions. I'm not exactly sure how the correct usage is. The main problem seems to be that xdebug is simply not yet running when trying to attach the debugger. I have no clue at the moment how to achieve this correctly, when an external

Impossible to get PHP Yii waiting TTFB time under 2s (with profiling results)

故事扮演 提交于 2019-12-11 16:55:35
问题 I created Yii2 basic app https://www.yiiframework.com/doc/guide/2.0/en/start-installation but the index.php waiting time (TTFB) always is around 2s, no less, download time is around 43ms and all the other resources of the default app (CSS, JS) are donwloaded withing 10ms (all as observed from Google developer tools), that is fine. I am running everything on my development machine Windows 10 4GHz, 16GB RAM, low resrouce consumption. I am adding the xDebug profiling results of index.php call:

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

不羁的心 提交于 2019-12-11 15:40:52
问题 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. 回答1: The xdebug instance on your dev machine has to connect to the eclipse instance on your machine if you want to debug, so I guess the answer to your question is "no". 来源: https:/

Xdebug----Failed loading

强颜欢笑 提交于 2019-12-11 14:29:35
环境说明: 1、php7.2.1 2、php.ini配置 [Zend] zend_extension=D:\work-Doc\wiki\php-7.2.11-Win32-VC15-x64\ext\php_xdebug-2.6.1-7.2-vc15-x86_64.dll xdebug.remote_port=9000 xdebug.remote_enable=1 xdebug.remote_host=127.0.0.1 xdebug.remote_handler=dbgp xdebug.collect_vars = On xdebug.collect_return = On xdebug.collect_params = On xdebug.profiler_enable=1 xdebug.profiler_output_dir=D:\work-Doc\wiki\xampp\tmp 解决办法: 导致xdebug老是不能加载,试了好多版本的,可是都不行,最后搜到一个解决方案: 把phpinfo()的信息拷贝到xdebug官网的一个测试页面: http://www.xdebug.org/find-binary.php ,让官网来测试我的环境找到合适的版本,这确实不错哦 结果:问题解决 ———————————————— 版权声明:本文为CSDN博主「小虎跑起来」的原创文章,遵循 CC 4

How to add XDebug zend_extension to php.ini?

风格不统一 提交于 2019-12-11 12:35:38
问题 I have a VPS with cPanel WHM and am trying to enable XDebug. I installed the extension by going to WHM -> Software -> Module Installers -> PHP Pecl -> Manage and I confirmed it's installed by checking my phpinfo() page. The next step is to enable XDebug in my php.ini file, but I'm a little confused how I should go about doing this. Looking at php.ini in /usr/local/lib , I see this line at the bottom: zend_extension="/usr/local/Zend/lib/Guard-6.0.0/php-5.4.x/ZendGuardLoader.so" However, in WHM

xdebug running in PHPStorm unable to connect to remote server

拈花ヽ惹草 提交于 2019-12-11 10:54:32
问题 Problem I'm trying to get xdebug running between my box and a webapp running on a remote server. I'm running xdebug through PHPStorm on my development box. I get stuck after starting the debugger. The PHPStorm debugger window hangs on "Waiting for incoming connection with ide key 'PHPStorm'" Remote Server Configs On the remote server, our sys admin has installed xdebug. The server has the following settings: xdebug.remote_port 9000 xdebug.default_enable On xdebug.remote_enable On xdebug

Can't connect to xdebug in PHPStorm

我怕爱的太早我们不能终老 提交于 2019-12-11 10:44:58
问题 The problem So I feel although I've tried everything and still can't get xdebug to connect to phpstorm. I says it waiting for a connection, then when I load the page, using either the get variable ?XDEBUG_SESSION_START=PHPSTORM or the chrome extension, the message briefly changes to connected , before going back to waiting. The error: In the error log at E:\xampp\apache\logs\xdebug.log is as follows Log opened at 2016-03-29 16:35:40 I: Connecting to configured address/port: 12hitchinscouts

xDebug shows up in command line “php -m” , but not in phpinfo()

隐身守侯 提交于 2019-12-11 09:41:58
问题 I am on windows 7, 64bit, with xampp 3.2.1 installed . I got my xdebug dll file through the xdebug.org wizard, and put it where the wizard told me to, C:\xampp\php\etc. Then I made sure to modify the correct (and as far as I'm aware only) php.ini file at C:\xampp\php\php.ini. This is the same ini that phpinfo() reports. When I run php -m , I can see the xDebug extension listed twice, just as it should be. But going back to a phpinfo() output, the extension is not listed. I've tried restarting

PhpStorm | WebMatrix (IISExpress) | Xdebug.remote_port | — Which Port(s) to put where?

喜夏-厌秋 提交于 2019-12-11 09:17:54
问题 I've got a localhost webserver setup with WebMatrix and its IISExpress. It runs the webserver as http://localhost:<port> . I've also installed xdebug in it which runs perfectly for error-handling purposes. Now I have installed PhpStorm and I want to make use of its debugger's break-point wizardry. It uses Xdebug's /?XDEBUG_SESSION_START=<IDEKEY> feature and This is where I'm having trouble. In all, I have 3 places where I can set PORT: (a) Port in xdebug.remote_port in php.ini . (b) Port in

xdebug 2.2.0RC2 strange error with vmware guest os?

ⅰ亾dé卋堺 提交于 2019-12-11 08:24:20
问题 I've a vmware guest os with a webserver and xdebug 2.2.0RC2 installed and I want to open a debug session from my host to my virtual machine. On my host I've Opera and xdebug extension installed. When I load Komodo and try to connect to the xdebug it failed but when I try the xdebug extension from Opera sometimes I get this message in my virtual machine xdebug log file: Log opened at 2012-04-29 12:15:28 I: Checking remote connect back address. I: Remote address found, connecting to 192.168.92