xdebug

Phpstorm does not see xdebug but it is installed

谁说我不能喝 提交于 2019-12-20 10:43:14
问题 PhpStorm cannot see xdebug but it is installed. In my browser xdebug works fine. Where is the problem? The error: Connection with 'xdebug' was not established. Validate installation. php.ini [xdebug] xdebug.idekey=PHPSTORM zend_extension="/Applications/MAMP/bin/php/php5.4.10/lib/php/extensions/no-debug-non-zts-20100525/xdebug.so" xdebug.default_enable=1 xdebug.coverage_enable=1 xdebug.profiler_enable = 1 xdebug.profiler_output_dir = "/tmp" xdebug.remote_enable=1 xdebug.remote_handler=dbgp

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

我的梦境 提交于 2019-12-20 09:58:05
问题 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 for Php 5.6 on Ubuntu 16.04

断了今生、忘了曾经 提交于 2019-12-20 09:55:08
问题 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" 回答1: 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.

Netbeans waiting for connection to XDEBUG

吃可爱长大的小学妹 提交于 2019-12-20 09:47:23
问题 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 )

XDebug with Aptana Studio 3

折月煮酒 提交于 2019-12-20 09:37:21
问题 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. 回答1: 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

Remote debugging with XDebug and PHPStorm

折月煮酒 提交于 2019-12-20 09:15:50
问题 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

Debugging php-cli scripts with xdebug and netbeans?

孤者浪人 提交于 2019-12-20 07:58:43
问题 I have managed to initiate php-cli script debug session from the IDE itself, but I need to start the debugging session from the shell / command line. These are rather complex maintenance PHP scripts which take a lot of input parameters, so entering arguments from within Netbeans is a bit cumbersome. I have done it before with Zend studio: https://zend18.zendesk.com/hc/en-us/articles/203838096-Debugging-PHP-CLI-Scripts, but now I need to get it working with Netbeans. Thanks in advance. 回答1: I

How do you debug a LONG RUNNING php script?

大城市里の小女人 提交于 2019-12-20 05:43:31
问题 The problem is that the script hangs up after some long time. strace returns something like this and nothing else: Process 7286 attached - interrupt to quit restart_syscall(<... resuming interrupted call ...>) = 0 poll([{fd=13, events=POLLIN|POLLPRI|POLLRDNORM|POLLRDBAND}], 1, 0) = 0 (Timeout) clock_gettime(CLOCK_MONOTONIC, {1817569, 74651533}) = 0 clock_gettime(CLOCK_MONOTONIC, {1817569, 74734744}) = 0 clock_gettime(CLOCK_MONOTONIC, {1817569, 74812047}) = 0 poll([{fd=13, events=POLLIN

Using NetBeans to debug PHP?

霸气de小男生 提交于 2019-12-20 04:19:02
问题 UPDATE 1: I have made a change in: /etc/php5/apache2/conf.d/xdebug.ini looks like this: zend_extension=/usr/lib/php5/20090626+lfs/xdebug.so xdebug.remote_enable=On xdebug.remote_enable=1 xdebug.remote_host="localhost" xdebug.remote_port=9000 xdebug.remote_handler="dbgp" phpinfo looks like this: debug xdebug support enabled Version 2.0.5 Supported protocols Revision DBGp - Common DeBuGger Protocol $Revision: 1.125.2.6 $ GDB - GNU Debugger protocol $Revision: 1.87 $ PHP3 - PHP 3 Debugger

Xdebug installed but does not display in Phpinfo for Xampp

一个人想着一个人 提交于 2019-12-20 03:37:08
问题 I have the latest Xampp and Php 5.3 on Mac Mountain Lion oSX 10.8.2. I just installed Xdebug and configured it in the php.ini. I downloaded from this link and followed the instructions. Also put the following entries in php.ini [Xdebug] zend_extension=”/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/xdebug.so” xdebug.remote_port = 9000 xdebug.profiler_enable = 1 xdebug.profiler_output_dir = "/Applications/XAMPP/xamppfiles/temp" xdebug.remote_handler =