xdebug

Breakpoints not hit with xdebug, PhpStorm and Laravel 3 / mod_rewrite

女生的网名这么多〃 提交于 2019-12-02 20:54:41
I'm pretty desperate and running out of ideas: I've configured xdebug and PhpStorm for a Laravel 3 project. Running the project locally on Mac OS X Apache, so PhpStorm and the web application run on the same machine. Configured a virtual host so that localhost.lt points to Laravel's public directory. Relevant xdebug entries in php.ini: zend_extension = /usr/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so [xdebug] xdebug.idekey="PHPSTORM" xdebug.remote_enable=1 xdebug.profiler_enable=1 xdebug.remote_log=/var/log/xdebug_remote.log xdebug.remote_connect_back=1 Confirmed that extension gets

Xdebug for Php 5.6 on Ubuntu 16.04

我是研究僧i 提交于 2019-12-02 20:31:49
Is There is a way to install Xdebug for Php5 on Ubuntu 16.04? I've tried to install it the same way as ubuntu 14.04 but every time I try to install php5-dev I get this error "E: Package 'php5-dev' has no installation candidate" you can install xdebug by typing in sudo apt-get install php-xdebug then only restart apache sudo service apache2 restart or if you use NGINX sudo systemctl restart nginx or sudo nginx restart If you now look at your phpinfo() output, you should see the xdebug. This als wokrs if u installed PHP 5.5 or 5.6 via ppa:ondrej/php Packages To install PHP5 version by apt-get

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

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-02 19:52:00
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 . 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 Eclipse PDT via "All in one" package at: http://www.zend.com/en/community/pdt install ZendDebugger.so ( http:/

Netbeans waiting for connection to XDEBUG

早过忘川 提交于 2019-12-02 19:43:52
Netbeans won't connect to xdebug. I've tried suggestions from the following posts: Debugging IDE's port connection to XDebug: "Waiting to Connect" netbeans shows "Waiting For Connection (netbeans-xdebug)" but it doesn't fix my issue. It seems Netbeans connects to xdebug because while it waits for the connection all request made to the webserver [Apache2] are blocked. Also the port [9001] appears to be in use: roxy@Pixy011 ~ $ sudo nmap -sS -O 127.0.0.1 Starting Nmap 6.00 ( http://nmap.org ) at 2013-11-28 20:48 EST Nmap scan report for localhost (127.0.0.1) Host is up (0.000029s latency). Not

XDebug with Aptana Studio 3

微笑、不失礼 提交于 2019-12-02 19:16:08
I would like to know how i can get XDebug work with Aptana Studio 3 (I already have Aptana Studio 3 on this machine with XAMPP). Do you know a recent article telling me how to do this and explains XDebug? I have no experience nor any knowledge about XDebug, i looked for articles but all seem outdated to me. I realize that this is a old thread but I also had a difficult time finding out how to debug php with Aptana Studio and FireFox so here is a quick how-to to get it working... The easiest way I found is to install wamp server V2.2, this is a very useful program as it installs Apache Server,

Cannot debug with PhpStorm + Vagrant + XDebug

给你一囗甜甜゛ 提交于 2019-12-02 19:05:22
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 PhpStorm to connect to localhost:8080 and too 33.33.33.10 , both with no luck. The log file always outputs:

Debug Symfony2 projects in PHPStorm

非 Y 不嫁゛ 提交于 2019-12-02 18:49:57
问题 I have a problem in debugging symfony2 applications in PHPStorm with xdebug because of Request::createFromGlobals() method. All other project debugs well. The problem occurs, when the execution process meets the invocation of this method, the debugger just turns off without any error and the page is rendered. Does someone know how to fix it? 回答1: Try change app_dev.php to: ... //$loader = require_once __DIR__.'/../app/bootstrap.php.cache'; $loader = require_once __DIR__.'/../app/autoload.php'

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

橙三吉。 提交于 2019-12-02 18:34:58
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 Application Name: apache.exe Application Version: 2.2.9.0 Application Timestamp: 4853f994 Fault Module Name:

Remote debugging with XDebug and PHPStorm

喜欢而已 提交于 2019-12-02 18:12:41
First things first: Server is an Apache running on Debian in a VMPlayer Host is Windows 7 Debugging-Server is XDebug Files are directly accessible via a shared folder Important : XDebug is properly configured on Apache and my Win7 firewall as well. I know that b/c I can debug using Eclipse . So what I am failing at seems to be the basic configuration of PHPStorm. Let me give you some more details: IP of Server: 192.168.56.128 IP of my host: 192.168.56.1 the file that I want to debug is index.php: location on my Win7 host: C:\dev\sf\Symfony\ location on Debian: \mnt\hgfs\sf\Symfony\ URL: 192

phpize won't work on Mac OS X Lion

蹲街弑〆低调 提交于 2019-12-02 18:04:30
I try to install xdebug but I get the follow error message about 'phpize'. How can I fix this thing? leny:~ nick$ sudo pecl install xdebug Password: downloading xdebug-2.1.2.tgz ... Starting to download xdebug-2.1.2.tgz (304,229 bytes) ............done: 304,229 bytes 66 source files, building running: phpize Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this script. ERROR: `phpize' failed Narcis Radu "Cannot find