xdebug

PhpStorm Is throwing an error for phpcs

匿名 (未验证) 提交于 2019-12-03 08:46:08
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: PHP Code Sniffer phpcs: Can not correctly run the tool with parameters: C:\Users\sa\AppData\Local\Temp\___0.tmp\press_home.module --encoding=utf-8 Possible tool process hangup after 5 sec. Exclude press_home.module from PHP Code Sniffer analysis. PhpStorm throwing this message frequently. Any idea why PhpStorm showing this error? 回答1: Any idea why PhpStorm showing this error? Extremely likely because PHP executable that is used to execute phpcs has xdebug enabled -- execution takes longer. Two possible solutions: Make sure that PHP

How to debug PHP application using Eclipse PDT (xdebug and zend debugger)

感情迁移 提交于 2019-12-03 08:37:19
I'm working on one application. I am using Eclipse php Helios IDE for developing php application. I wanted to know below things related to this IDE, so that i can implement PHP application instantly as well as very efficiently : 1) How to do remote debugging using Eclipse PHP Helios IDE 2) What is the pros and cons of xdebug and zend debugger 3) Which debugger should we use from xdebug, zend debugger. 4) Is there any other debugger available apart from above two mentioned. Below links i refered for above mentioned debugger. 1) http://devzone.zend.com/article/2930-Debugging-PHP-applications

Auto setting xdebug.remote_host ip address with vagrant/puppet

折月煮酒 提交于 2019-12-03 07:13:59
I'm in the process of setting up a Vagrant environment using puppet for provisioning. I'm stuck with one issue, I would like xdebug to 'just work' when running vagrant up however I need to specify the host machines ip address in the php.ini file xdebug.remote_host , obviously this is going to be different on each machine the config is used so I would like a way to automatically update that value when issuing vagrant up . VagrantFile: config.vm.network :forwarded_port, guest: 9000, host: 9000 .ini settings: 'xdebug.default_enable=1', 'xdebug.remote_enable=1', 'xdebug.remote_handler=dbgp',

Php debugging with Aptana Studio and Xdebug or Zend debugger on OS X

天大地大妈咪最大 提交于 2019-12-03 06:25:39
问题 Have you managed to get Aptana Studio debugging to work? I tried following this, but I don't see Windows -> Preferences -> Aptana -> Editors -> PHP -> PHP Interpreters in my menu (I have PHP plugin installed) and any attempt to set up the servers menu gives me "socket error" when I try to debug. Xdebug is installed, confirmed through php info . 回答1: I've been using ZendDebugger with Eclipse (on OS X) for a while now and it works great! Here's the recipe that's worked well for me. install

Multiple users XDebug and PHP Debugging

亡梦爱人 提交于 2019-12-03 06:20:36
问题 How do you setup a multi-developer XDebug PHP environment? I have the following setup: I have a linux machine with Apache and Xdebug loaded and a php.ini file that I think is correct. I found a python proxy script that I'm using to proxy the calls from the PDT Eclipse IDE's my developers are using to the Apache/Xdebug running on the same web server. I set the idekey in php.ini to "ECLIPSE_DBGP" and for Xdebug to autostart From the log information from the proxy it says that there is no server

Cannot debug with PhpStorm + Vagrant + XDebug

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-03 05:46:12
问题 I cannot get XDebug to work with PhpStorm and Vagrant on a Windows 7 machine. I've already followed every tutorial on getting this to work but with no luck. So what I've tried is: PhpStorm always listens to debug connections xdebug.ini file with the following: zend_extension = "..../xdebug.so" xdebug.remote_enable= 1 xdebug.remote_handler=dbgp xdebug.remote_host= 33.33.33.10 xdebug.remote_port= 9000 xdebug.remote_connect_back= 1 xdebug.remote_autostart= 1 xdebug.remote_log = "...." Setup

Eclipse for php + Xdebug搭建PHP的调试环境

可紊 提交于 2019-12-03 05:34:29
Eclipse for php + Xdebug搭建PHP的调试环境 时间 2014-01-25 00:53:55 CSDN博客 原文 http://blog.csdn.net/zztfj/article/details/18750295 Eclipse for php + Xdebug搭建PHP的调试环境 第一步:到Eclipse的官网去下载PHP-Eclipse: http://www.eclipse.org/downloads/packages/eclipse-php-developers/heliossr1 第二步:下载Xdebug (下载地址位于: http://xdebug.org/download.php ,我的PHP版本为 PHP 5.3.28 Thread Safety, Apach为2.2.25,使用的端口号8080),我下载的Xdebug版本为 php_xdebug-2.2.3-5.3-vc9.dll ,并且放入到"PHP/ext目录中。 第三步:在PHP5里面找到php.ini,在这个文件的最后面加入如下配置信息: zend_extension = D:\php\ext\php_xdebug-2.2.3-5.3-vc9.dll ;zend_extension_ts = D:\php\ext\php_xdebug-2.2.3-5.3-vc9.dll

Can't install xdebug on Mac with Homebrew

空扰寡人 提交于 2019-12-03 05:31:52
问题 I'm kind of new to using Homebrew, but I love it. It's so easy. I'm trying install Xdebug. Some of the posts on the web say to do this: brew install xdebug But it doesn't work. I get: Error, no available formula. I did brew search xdebug and it returned: josegonzalez/php/php53-xdebug josegonzalez/php/php54-xdebug I tried several different iterations of brew install with this including brew install php53-xdebug , but still no luck. Can someone help me? I can't find anything on Xdebug's site

PhpStorm debugger not stopping at BreakPoints; keeps waiting for xdebug _SESSION_

允我心安 提交于 2019-12-03 05:25:48
问题 Updated question : PhpStorm | WebMatrix (IISExpress) | Xdebug.remote_port | — Which Port(s) to put where? I'm running localhost web server on my Windows machine with WebMatrix and IISExpress. I've installed PHP and Xdebug in it and they both are working. I have a local WordPress install. I'm now trying to get PhpStorm to debug it using Xdebug. When I run PhpStorm it launches the web app in the browser with relevant debugging parameters in the browser. IDE KEY is matching xdebug.remote_port is

Xdebug breaks on access to class static property

被刻印的时光 ゝ 提交于 2019-12-03 05:20:12
I've a problem with Xdebug in my development environment. FROM library/php:5.5-apache RUN apt-get -qqy update && apt-get -qqy install \ libpq-dev \ libmcrypt-dev \ libxml2-dev \ ssl-cert \ vim \ git \ mc \ && rm -r /var/lib/apt/lists/* # compile and add xdebug RUN pecl install xdebug \ && echo "zend_extension=xdebug.so" >> "/usr/local/etc/php/conf.d/xdebug.ini" # configure apache and vhosts RUN a2enmod rewrite ssl \ && a2ensite 000-default default-ssl ENV APACHE_RUN_USER www-data ENV APACHE_RUN_GROUP www-data ENV APACHE_LOG_DIR /var/log/apache2 ENV APACHE_RUN_DIR /var/run/apache2 ENV APACHE