xdebug

XDebug with Symfony and PhpStorm doesn't work (Ubuntu installation)

佐手、 提交于 2019-12-07 12:52:39
问题 Facts about my system Ubuntu 15.10 Php 5.6.11 Symfony 2.7 PhpStorm 10 xDebug 2.4 I really struggle getting xdebug to work under my Symfony project in PhpStorm. I installed xdebug configured the php.ini file in my /etc/php5/apache2/php.ini and in the cli folder [xdebug] zend_extension=/usr/lib/php5/20131226/xdebug.so xdebug.remote_enable = 1 xdebug.remote_port = 9000 xdebug.idekey = PHPSTORM xdebug.remote_host=127.0.0.1 But when I "Start listening for PHP Debug Connections" and set breakpoints

Debugger doesn't pause at breakpoints

元气小坏坏 提交于 2019-12-07 12:18:38
问题 I'm having an issue was hoping I could get some help with configuring Atom and Xdebug. I can set breakpoints and they show up in the breakpoint panel, but the process never pauses. Oddly, the process does pause on a exception warning, so I know it's connecting somewhat, but just not pausing at breakpoints. My php.ini is as described in the readme: xdebug.remote_enable=1 xdebug.remote_host=127.0.0.1 xdebug.remote_connect_back=1 # Not safe for production servers xdebug.remote_port=9000 xdebug

XDebug not working with xampp

£可爱£侵袭症+ 提交于 2019-12-07 12:05:00
问题 I'm using (or trying to anyway) use the bundled XDebug with XAMPP 1.7.2. It comes bundled with Apache 2.2.12, PHP 5.3.0, XDebug 2.0.5 and Zend (not sure on version) This is a totally fresh install of XAMPP, the only thing I've added to php.ini (at xampp/php/php.ini) is: zend_extension_ts = "C:\xampp\php\extensions\php_xdebug.dll" [xdebug] xdebug.auto_trace = 1 xdebug.collect_includes = 1 xdebug.collect_params = 1 xdebug.collect_return = 1 xdebug.default_enable = 1 xdebug.extended_info = 1

PHP auto_prepend_file causes xdebug profiler to fail

跟風遠走 提交于 2019-12-07 10:58:36
问题 I use xDebug 2.5.5 on a Windows 7 machine running Apache 2.4 and PHP 5.6. xDebug profiler works ok except when I use a php auto_prepend_file in php.ini auto_prepend_file = "C:\path\to\init.php" or in Apache Vhost php_value auto_prepend_file "C:\path\to\init.php" In either case, adding this directive will cause the generated profiler snapshot cachegrind.out.#### , to be corrupted somehow. I cannot open it either in PhpStorm (my IDE) or using WinCacheGrind. In addition, I cannot delete the

Can't install Xdebug on XAMPP and Windows XP

耗尽温柔 提交于 2019-12-07 04:01:08
问题 I know, this has been asked several times, but the answers did not solve my problem. I am running XAMPP 1.8.2 on Windows XP SP3 and am struggling in installing XDebug. I downloaded XDebug from the website. Unfortunately, the installation wizard did not work for me, my PHP Version is 5.4.16, so I chose the file for PHP 5.4 VC9 TS (32 bit) . I configured my php.ini according to different tutorials: [XDebug] zend_extension_ts = "D:\Stefan\xampp\php\ext\php_xdebug-2.2.3-5.4-vc9.dll" xdebug.remote

How tell PHPStorm debugger, that my project has document root other than project root

て烟熏妆下的殇ゞ 提交于 2019-12-07 03:57:17
问题 I'am trying to set up PHPStorm with xdebug. Everyting launches fine, but breakpoints just do not work and have "x" symbol on them. I'm using openserver with PHP 5.4 and editing files directly on the local web server, so no file mapping is necessary. I think, that my problem is that web server root is located below the project root directory (for security reasons) and PHPStorm does not that. Project root: C:\OpenServer\domains\mysite Web server root (configured in nginx): C:\OpenServer\domains

XDebug and VIM. Browsing array values

↘锁芯ラ 提交于 2019-12-07 03:40:01
问题 Is there any way to browse the data inside an array? Currently I can only see $data[0] = (array) with no way knowing what's inside the array. I can the values inside normal variables fine. Is there a way to see inside the arrays? Maybe a command I'm not aware of? Edit: I found out I can use the command keys ,e to evaluate an array or object. After I type ,e an /*{{{1*/ => eval: prompt shows up then I can type /*{{{1*/ => eval: $data[0] to see the values. Except I get it in the following

Xdebug with XAMPP in Ubuntu 14.04

回眸只為那壹抹淺笑 提交于 2019-12-07 02:17:11
问题 System Configuration Ubuntu 14.04 Xampp v 5.6.3 installed php5-dev after xampp on sudo /opt/lampp/lampp start now want to install Xdebug wihin xampp and I tried available 3 method but nothing is working out , please see the whole process. 1)Ubuntu software package sudo apt-get install php5-xdebug command exceuted successfully but no such file in .usr/lib/php5/... uninstalled 2)Tailored Installation Instructions downloaded xdebug.tar.gz after checking with wizard ice@cold:~/Downloads/xdebug-2

Is it possible to debug PhpUnit tests with --process-isolation option?

筅森魡賤 提交于 2019-12-07 01:42:28
问题 For unittest class SampleTest extends PHPUnit_Framework_TestCase { public function testBreakpoint() { $a = 18; } } with breakpoint on line 5 "$a = 18;", Xdebug v2.1.0, PHPUnit 3.6.10, PHP 5.3.6, ubuntu 10.11 Running unittest with NO --process-isolation option stops script execution on the line 5, as expected. Running the same configuration WITH --process-isolation option does not stop execution on line 5. The option --process-isolation runs every test in new process using 'proc_open' in

XDebug does not break on breakpoints from atom's php-debug package

…衆ロ難τιáo~ 提交于 2019-12-06 22:08:18
问题 My problem is one I found many other answers too but none worked for me. The code and "server" are both localhost. Edit : tried using port 9001 instead as suggested in some answers + tried if Visual Studio Code worked, but the strange thing is: it breaks on exceptions in VS Code but still not on breakpoints. The connection seems to work: My setup Software Windows 10 Pro x64 MAMP (non pro) running port 81 atom php-debug package xdebug-2.4.1-7.0-vc14.dll extention the code to be debugged is