2022 Developer Survey is open! Take survey.

Questions tagged [xdebug]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
10 views

How do I install and configure xDebug in magento-docker?

as you know the debugging tool is a one way road for any developer and in this case I bring you this problem that I am trying to solve for a long time and I can't. I am trying to solve it. I am in a ...
user avatar
0 votes
2 answers
360 views

Magento2 Customer login Invalid request received

Magento2 Customer login Invalid request received When i try Register customer, i receive similar kind of error. "Magento\Customer\Controller\Account\CreatePost\Interceptor" {"exception&...
user avatar
0 votes
3 answers
695 views

Could not connect to debugging client when running bin/magento commands

I'm using Magento 2.4.1, PHP 7.4, and xdebug 3.0.4. The xdebug is working normally with this setting in php.ini: But whenever I run bin/magento setup:upgrade or any others bin/magento command I ...
user avatar
  • 167
0 votes
0 answers
64 views

PHPStorm Xdebug not working

I like to configure and check the code flow using the X-debug break-point, so followed the below tutorial and successfully configured the X-debug in my PHP-storm, I am using php-7.2 https://www....
user avatar
  • 1,588
1 vote
1 answer
316 views

Magento 2: How to install & configure xdebug (linux +magento+ sublime)

Is their any way to configure xdebug on linux+magento+sublime debug environment ? I am using PHP Version 7.3.26-1+ubuntu18.04.1+deb.sury.org+1
user avatar
  • 367
1 vote
1 answer
740 views

Waiting for incoming connection with ide key 'xxxxx'

In phpstrom variable getting "Waiting for incoming connection with ide key 18836" while trying to run debug magento2 using xdebug. Xdebug is installed correctly in my Ubuntu system,checked ...
user avatar
0 votes
1 answer
60 views

Debugging Magento 2.4 on windows

Here is the setup: Magento 2.4 up and running Windows 10 & Xampp Php 7.3.25 Xdebug enabled.Below is php.ini configuration, xdebug section [XDEBUG] zend_extension = "C:/xampp/php/ext/...
user avatar
18 votes
5 answers
17k views

Uncaught Error: Call to undefined function xdebug_disable()

I am working with the Magento 2.3, and using the PHPStorm as a IDE. Recently I've configured the xdebug in my local for identify some process flow. But it does not helped me to checked the flow. Then ...
user avatar
  • 1,588
0 votes
1 answer
113 views

Where can I get all observers(events) of current page?

Where in the code magento2 trigger one by one all events of observers. I want to debug it by xdebug and find all events that can be on that page.
user avatar
1 vote
1 answer
327 views

Configure path mapping for Magento 2 xdebug in phpstorm

I have xdebug set up in phpstorm. However every time I load my Magento 2 app the script get.php opens 3 times in the debugger and breaks. I also get the error "The script '/pub/get.php' is ...
user avatar
1 vote
0 answers
43 views

Magento 2 Xdebug PHPStorm JIT does it work for Fatal Errors?

Has anybody got JIT xdebug to work in Magento 2 with PHPStorm, is it compatible? I have regular debugging with breakpoints working fine, but JIT will not work I get a Fatal Error like this: Fatal ...
user avatar
0 votes
0 answers
64 views

Debug doesn't work (Version 2.3)

I tried all ways to enable debug but it doens't work. I modify all box on dashboard about debug on "Yes". I tried to use command line with "bin/magento setup:config:set --enable-debug-logging=true" ...
user avatar
2 votes
1 answer
1k views

How to debug Magento 2.3 queue's consumers with Xdebug?

I'm working with a Magento 2 queue at the moment. To debug Magento 2 console scripts I normally just hit 'listen to external connections' in PHPstorm and execute the CLI script (i'm using Valet+ with ...
user avatar
  • 1,218
1 vote
2 answers
2k views

Magento 2.3: InvalidAgumentException: Composer could not find the config file

I have a problem with Magento, I use X-debug for trying to debug Magento and I have the following Exception: Exception Has ocurred. InvalidArgumentException: Composer could not find the config ...
user avatar
  • 305
2 votes
0 answers
395 views

Xdebug don't stop in the breakpoints

I try to debug my magento2 project with xdebug php 7.1 and nginx. I have differents breakpoints in app/code/Extension/Module and doesn't stop in any one. Just stop if I have the option "Break at the ...
user avatar
  • 943
3 votes
1 answer
5k views

Magento 2 PHPSTORM Xdebug Configuration setup

How to setup and use Xdebug in Magento 2 which is very necessary tool for Magento 2.
user avatar
2 votes
0 answers
54 views

How do i debug full project in phpstorm via xdebug - magento 2

I have setup magento localhost phpstorm project with xdebug how to i debug full project procedure
user avatar
  • 1,037
0 votes
0 answers
157 views

Magento 2 install nginx php mysql dnsmasq xdebug php codesniffer on mac high sierra

Is there any complete guide where I can see how to install 1. nginx 2. php (multiple version) 3. mysql 4. dnsmasq 5. xdebug 6. php codesniffer on mac high sierra? Please don't suggest Valet+ ;). ...
user avatar
  • 604
0 votes
1 answer
255 views

Magento 1.9 : Xdebug can no longer be used for as xdebug no longer support php 5

I am trying to use Xdebug for magento 1. However, Xdebug no longer supports PHP under 7.0. Magento 1 on the other hand only works for php 5. Does anyone know any solution to this problem.
user avatar
  • 429
3 votes
3 answers
4k views

How to debug php which is run by cron job only

I am trying to customize Ebizmart Mailchimp extension. This extension has few batch processing which are run by Cron job. My Server is in Ubuntu VM and my IDE is netbean run on Windows. Debugging ...
user avatar
  • 337
3 votes
1 answer
270 views

Xdebug PhpStorm: Explain about the step into and step out

I want to understand about what is step into and step out in xdebug phpstorm, and what is the difference between them, and what should i use most in debugging with xdebug phpstorm.
user avatar
  • 1,168
2 votes
1 answer
509 views

How to install XDebug in Lampp to debug Magento?

I have installed xdebug from source in my system and add to my php.ini the following code at the end of the file: /opt/lampp/etc/php.ini [Xdebug] zend_extension=”/usr/lib/php/20151012/xdebug.so” ...
user avatar
2 votes
1 answer
787 views

Magento 2.2.x debug in NetBeans IDE 8.1 via chrome or mozilla

In order to debug PHP scripts in NetBeans IDE 8.1 via Chrome or Mozilla. What i need to install for Browser and which code i should put in my Magento project and php.ini file? What changes i need to ...
user avatar
  • 7,389
0 votes
1 answer
367 views

Magento 2.2.2 Xdebug

I'm trying to debug magento 2.2.2 with xdebug via PhpStorm. When I'm trying to set points in index.php - it works perfectly, but when I'm going to debug some custom or core files Xdebug is not going ...
user avatar
  • 13
1 vote
2 answers
1k views

How can I remotely debug Magento 2 using xdebug when I do not have the "generated" files locally?

I'm already familiar with xdebug, and debugging Magento 1 using it. Now that I'm working with Magento 2, I'm finding that my debugging sessions are failing with error messages like: Cannot find a ...
user avatar
3 votes
1 answer
428 views

Composer Installation Error

My php version php 7 How can I solve this issue?
user avatar
  • 103
2 votes
0 answers
824 views

Can not debug magento 2 use phpstorm with xdebug

When I try to debug magento2 by phpstorm and xdebug I got this error: /opt/lampp/bin/php -dxdebug.remote_enable=1 -dxdebug.remote_mode=req -dxdebug.remote_port=9000 -dxdebug.remote_host=127.0.0.1 ...
user avatar
20 votes
6 answers
19k views

Magento 2 run a specific Cron without cron:run CLI command?

To make a long story short xdebug will not reliably stop on the breakpoints in my cron files when using the typical: php bin/magento cron:run Xdebug is all setup properly and sometimes it will work ...
user avatar
4 votes
1 answer
2k views

What's the best way to debug Magento?

In my normal projects, I use xdebug with phpstorm and it's great; I have no problem with it. However, in Magento2, using xdebug on my localhost is not possible because when xdebug remote is enabled in ...
user avatar
  • 865
4 votes
4 answers
3k views

how to debug large object in Magento 2 without var_dump?

I usually var_dump($object->getData()); in my module to see what data it contains. Because of the injection dependencies , it looks like I can't do that anymore. When I try it, nothing is printed ...
user avatar
  • 41
1 vote
1 answer
603 views

If it is possible to debug PHP of the admin side in Magento2?

General question Just interesting, if it is possible to debug the admin side in Manento2. If it is, wold be glad to saw some hints. Debug process now For now I'm using PhpStorm with XDebug. If I ...
user avatar
  • 315
5 votes
0 answers
455 views

How to debug single magento 2 file using xdebug in netbeans

I setup X-debug in my pc and magento 2 project added to netbeans, now debug magento2, it working fine, but I added new module for smtp configuration and i debug within the module file they show, "You ...
user avatar
  • 3,480
0 votes
1 answer
62 views

migration from magento 1.9 to magento 2.0.2 using composer

I'm trying to download magento2 from git using composer I always see this warning about Xdebug I uncomment the line zend_extension in my php.ini file but I have the same warning can any one give me ...
user avatar
  • 11
2 votes
2 answers
479 views

Profiling magento (category manager) using xdebug profiler

I am looking at reported speed issue in admin category manager, where some categories can take up to 2 minutes of load time after the tree view was clicked. There are now errors anywhere, simply just (...
user avatar
  • 9,796
2 votes
2 answers
1k views

Fatal error: Maximum function nesting level of '100' reached

In app\Mage.php under dispatchEvent function i have written Mage::log($name) before "return $result" to get events list executed on any action. In System > Config if i save any field value i'm ...
user avatar
0 votes
1 answer
19 views

I have installed XDEBUG.suddenly it got removed from phpinfo and on php - m

I have installed XDEBUG.suddenly it got removed from phpinfo and on php - m command.Now I tried re-installing XDEBUG,but still the same problem.Please help
user avatar
3 votes
0 answers
344 views

Optimal XDebug settings

I am currently trying to locally debug a Magento installation using a Windows 8.1 machine, XAMPP, XDebug and Sublime Text 3 XDebug client. It currently runs so slow, it is pretty much unusable while ...
user avatar
9 votes
1 answer
16k views

Magento 2 Fatal Error :: Maximum Functions Nesting Level of '100' reached

I got this error after installing Magento 2 on my local machine over wamp software: Fatal error: Maximum function nesting level of ’100′ reached, aborting! in \magento2\lib\internal\Magento\...
user avatar
0 votes
1 answer
469 views

M2E sycn & Debug/Test (Xdebug/Local enviroment) [closed]

I need to debug the process that sync data from Magento to Ebay/Amazon in order to do some customization in the code. In particular the aim is to change the way shipping tax are calculated in the ...
user avatar
  • 6,845