Not able to enable debug debugger for laravel in PhpStorm - php

My XAMPP installation in php.ini file
[Xdebug]
zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "C:\xampp\tmp"
xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.trace_output_dir = "C:\xampp\tmp"
xdebug.idekey=PHPStorm
I done all setting in PhpStorm. But i am not able to start debugger my link is like that
http://localhost/aniCare/admin/login?XDEBUG_SESSION_START=13773
I put breakpoint on my function login. I m getting this Error:
My xdebug information:

Related

Xdebug is not enabled in PHP Version 7.1.21, XAMPP

I have this configuration:
[XDebug]
zend_extension = "G:\xampp\php\ext\php_xdebug-2.5.5-7.1-vc14.dll"
xdebug.remote_autostart = 1
xdebug.profiler_append = 0
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "G:\xampp\tmp"
;xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_log = "G:\xampp\tmp\xdebug.txt"
xdebug.remote_port = 9000
xdebug.trace_output_dir = "G:\xampp\tmp"
;36000 = 10h
xdebug.remote_cookie_expire_time = 36000
Please help. I am using Window 10.
Try using https://xdebug.org/wizard.php
I've had many difficulties in the past getting xdebug setup, but that little-known xdebug wizard has been a lifesaver for me in getting my xdebug settings right.
Xdebug and a Xdebug Manager are native with EasyPHP Deverser (www.easyphp.org). Maybe you can have a look.

xdebug on php 7.0.6 on xamp

I'm trying to install xdebug on xamp
-I've installed php_xdebug-2.6.0-7.0-vc14-nts-x86_64.dll on C:\xampp\php\ext
-I've disabled output buffering on php.ini
output_buffering=Off
-I've copied this text on php.ini
[XDebug]
zend_extension = "c:\xampp\php\ext\php_xdebug-2.6.0-7.0-vc14-nts-x86_64.dll"
xdebug.profiler_append = 0
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "c:\xampp\tmp"
;xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_log="c:\xampp\tmp\xdebug.txt"
xdebug.remote_port = 9000
xdebug.trace_output_dir = "c:\xampp\tmp"
; 3600 (1 hour), 36000 = 10h
xdebug.remote_cookie_expire_time = 36000
-I've restarted apache
But xdebug doesn't appear in phpinfo()

xdebug with netbeans and wamp 3.0.6

have WampServer Version 3.0.6 64bit
so
Apache 2.4.23 - PHP 5.6.25 - MySQL 5.7.14
I have downloaded php_xdebug-2.2.5-5.6-vc11-x86_64.dll and modified php.ini in this way:
[XDebug]
zend_extension = "C:\wamp64\bin\php\php5.6.25\php_xdebug-2.2.5-5.6-vc11-x86_64.dll"
xdebug.remote_port=9000
xdebug.remote_enable = 1
xdebug.remote_handler = dbgp
xdebug.remote_host = 127.0.0.1
xdebug.trace_output_dir = "C:\wamp64\tmp"
xdebug.profiler_append = 0
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "C:\wamp64\tmp"
xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_autostart=1
xdebug.remote_connect_back=0
xdebug.remote_log=C:\wamp64\tmp\xdebug.log
But still Netbeans 8.02 doesn't stop on breakpoints.
phpinfo prompt xdebug.remote_enable = off
Why in your opinion?
The xdebug entry in php.ini is relocated to phpForApache.ini. Open the file and make xdebug.remote_enable = on .

Symfony2 XDebug stops on breakpoint and can't do anything with debug buttons

I have installed XDebug for Symfony2.
I have edit php->php.ini with:
zend_extension = "c:/wamp/bin/php/php5.5.12/ext/php_xdebug-2.2.5-5.5-vc11-x86_64.dll"
;
[xdebug]
xdebug.remote_enable = off
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "c:/wamp/tmp
And apache->php.ini:
zend_extension = "c:/wamp/bin/php/php5.5.12/ext/php_xdebug-2.2.5-5.5-vc11-x86_64.dll"
;
[xdebug]
xdebug.remote_enable = on
xdebug.remote_handler = dbgp
xdebug.remote_host = 127.0.0.1
xdebug.remote_port = 9000
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "c:/wamp/tmp"
xdebug.max_nesting_level = 10000
My run configuration is:
Project URL: http://localhost/testing/web/app_dev.php
Debug URL: Ask Every Time
Path mapping:
Server path: C:/wamp/www/testing
Project path: C:\wamp\www\Testing\src\Acme\LogInSystemBundle
My problem is when I start debugging, it stops on breakpoint and I can't do anything with debug buttons, even I can click on it. Therefore, how can I resolve this problem? Thanks in advance!
In wamp/bin/php/php_xxx/ I have a folder called "zend_ext". My php.ini there is a line:
zend_extension = "c:/wamp/bin/php/php5.4.12/zend_ext/php_xdebug-2.2.3-5.4-vc9-x86_64.dll"
Maybe you should check out this pageƉ
http://wiki.netbeans.org/HowToConfigureXDebug#How_to_configure_xdebug_with_WAMP

PhpStorm XDebug with a remote browser

I have debugging enabled from my localhost - RHEL. So my phpstorm installed on localhost works fine when i request a url from the same box as the apache server.
However, I would like the debugging to work from another machine (different host). Is there a setting that i am missing to enable. that.
my ini file :
zend_extension = ${extension_dir}/xdebug.so
xdebug.profiler_append = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_aggregate = 0
xdebug.profiler_enable = 0
xdebug.profiler_output_dir = /tmp
xdebug.profiler_output_name = cachegrind.out.%p
xdebug.remote_enable=On
xdebug.remote_handler=dbgp
xdebug.remote_host =localhost
xdebug.remote_port = 9000
xdebug.remote_mode = "req"
xdebug.allowed_clients = ""
xdebug.remote_connect_back=1
xdebug.idekey="mykey"

Categories