xdebug

How to configure debug mode with PhpStorm

旧巷老猫 提交于 2021-01-29 06:00:35
问题 I'm configured debug mode like following with PhpStorm and php.ini . PHP Buillt-in Web Server Settings HOST: localhost PORT: 9000 Document root: [Project root path] Interpreter options: artisan serve /usr/local/etc/php/7.3/conf.d/ext-xdebug.ini [xdebug] zend_extension=xdebug.so #zend_extension="/usr/local/Cellar/php@7.3/7.3.16/pecl/20180731/xdebug.so" xdebug.remote_enable=1 xdebug.remote_port="9000" IF I execute from Run button with PhpStorm, following messages come up at first page. /usr

Can't get Xdebug to work with Sublime Text 3

我的梦境 提交于 2021-01-29 04:14:07
问题 I'm using Nginx and PHP 5.5.29 (with php-fpm), installed xdebug through package control. This is my xdebug config in php.ini zend_extension = /usr/local/lib/php/extensions/no-debug-non-zts-20121212/xdebug.so xdebug.remote_enable = 1 xdebug.remote_handler = dbgp xdebug.remote_host = "127.0.0.1" xdebug.remote_port = 9000 xdebug.remote_log = "/var/log/xdebug/xdebug.log" xdebug.var_display_max_depth = 5 xdebug.var_display_max_data = 2048 This is the sublime text project's configuration: {

xdebug.start_start_with_request=yes WITHOUT error if the debug client is not listening

核能气质少年 提交于 2021-01-28 06:01:54
问题 I used to have the following configuration with Xdebug 2: xdebug.default_enable=1 Xdebug did not slow down execution when no debug client was listening but when I needed to debug something then I only had to enable the listening in PhpStorm and refresh the page. No browser extension was needed for this. The same applied for debugging CLI applications, it just worked. I tried to achieve the same with Xdebug 3 with the following configuration: xdebug.mode=debug xdebug.start_start_with_request

Failed-loading xdebug installation - xdebug.so, 9 no suitable image found

我的未来我决定 提交于 2021-01-28 05:21:57
问题 After installing xdebug extentions as follows Download xdebug-2.6.0alpha1.tgz Unpack the downloaded file Run: cd xdebug-2.6.0alpha1 Run: phpize Run: ./configure Run: make Run: cp modules/xdebug.so /usr/local/Cellar/php70/7.0.26_18/lib/php/extensions/no-debug-non-zts-20151012 Edit /usr/local/etc/php/7.0/php.ini and add the line zend_extension = /usr/local/Cellar/php70/7.0.26_18/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so I get the error when run php -v Failed loading /usr/local

Workaround stalling chrome when xdebug session cookie set?

╄→гoц情女王★ 提交于 2021-01-27 06:08:28
问题 This is a bit specific situation, I wonder if anyone else has encountered the following: Chrome starts stalling when xdebug session cookie is set. The cookie might be leftover from previous debugging, all requests (ajax or "normal") slow down (15 seconds to 2 minutes before starting to receive), when debugging is not in use. I use PHPStorm for debugging, but it makes no difference if phpstorm is running or not when the stalling takes place. EDIT: Steps to reproduce the stalling: Open php

Xdebug does not work with var_dump()

社会主义新天地 提交于 2021-01-27 04:41:07
问题 I'm not sure why, but xdebug does not highlight var_dump(). But config seems to be fine. Have no idea why... Any suggestions? This is my phpinfo(); http://pastebin.com/A45dqnWN plus even xdebug_var_dump() doesn't highlight anything. It works, but look like normal var_dump(). 回答1: I found that option "xdebug.default_enable Off Off" in you php_info(). I also have noticed that in last versions of EasyPHP this option is turned off. So turn it on by setting this line in php.ini: xdebug.default

Xdebug from Docker suddenly stopped working in PhpStorm

喜欢而已 提交于 2021-01-25 07:57:07
问题 I have used this for a long time without any issue, it was still working yesterday. I don't know what happened, maybe a silent update of PhpStorm or whatever - but it stopped working. I checked with a local script, Xdebug still activates. I also used PhpStorm validation - no problem : Now, when I load a page of the project, after activating the bookmarklet, it doesn't trigger anything. Also, I used to be able to launch scripts from the command line inside docker this way : export PHP_IDE

Xdebug: [Step Debug] Could not connect to debugging client

僤鯓⒐⒋嵵緔 提交于 2021-01-22 07:06:36
问题 I would like to try Xdebug 3.0.0RC1 to explore what has changed and the new features that come with it. I am also using the latest PhpStorm 2020.3 EAP which supports Xdebug 3 with no major config needed. Below is my PhpStorm config for the Debugger: And here is the configuration I have tried for Xdebug3: zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20170718/xdebug.so xdebug.mode=debug xdebug.start_with_request=yes xdebug.client_host=host.docker.internal # here I tried several

VS Code Debugger - Felix Becker - Debugger doesn't hit anything

不想你离开。 提交于 2021-01-20 09:10:21
问题 I have recently installed php debugger by Felix Becker. No matter whatever config settings I do, my debugger is not hitting anything. Following are my conf files. xdebug.ini [xdebug] ; debug xdebug.default_enable = $value xdebug.remote_autostart = $value xdebug.remote_connect_back = 0 xdebug.remote_host = $value xdebug.remote_port = $value xdebug.remote_enable = 1 xdebug.idekey = $value ; profiling xdebug.profiler_enable = 0 xdebug.profiler_output_dir = /tmp zend_extension=xdebug.so Launch

VS Code Debugger - Felix Becker - Debugger doesn't hit anything

﹥>﹥吖頭↗ 提交于 2021-01-20 09:09:20
问题 I have recently installed php debugger by Felix Becker. No matter whatever config settings I do, my debugger is not hitting anything. Following are my conf files. xdebug.ini [xdebug] ; debug xdebug.default_enable = $value xdebug.remote_autostart = $value xdebug.remote_connect_back = 0 xdebug.remote_host = $value xdebug.remote_port = $value xdebug.remote_enable = 1 xdebug.idekey = $value ; profiling xdebug.profiler_enable = 0 xdebug.profiler_output_dir = /tmp zend_extension=xdebug.so Launch