Questions tagged [xdebug]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

When xdebug is enabled bin/magento commands won't work

I'm using Mark Shuts docker version, If xdebug is enabled, bin/magento commands won't work, and let's say if i run bin/magento cache:clean PhpStorm starts to debug out of nothing. Also I get this ...
elunicotomas's user avatar
0 votes
0 answers
22 views

PHP Xdebug Setup in Docker-Warden for Vs Code on MacOS

I'm currently working as an Adobe Commerce Cloud developer and have recently transitioned to MacOS. I've successfully set up my Adobe Commerce project in Docker using Warden and I'm using Vs Code as ...
Bhagyashri Pawar's user avatar
0 votes
1 answer
46 views

Magento 2, xdebug when cron running show issue with bin/magento

When I run cron with debugging. I get the message like this It takes so long time to run my cron. So anyone knows to fix this issue? Thanks alot.
Simpa407's user avatar
0 votes
1 answer
483 views

how to Magento 2 code debug in remote server with Visual Studio?

I would like to increase my development productivity. Is it possible to add breakpoints in Magento 2 server files in Visual Studio? Because there is a plugin called XDEBUG in VS code. I installed it ...
Niraj Patel's user avatar
0 votes
1 answer
168 views

How to configure n98 mage run for xdebug?

Xdebug for magento generally works, but there are problems with magerun, instead of debugging the cron class, debug n98-magerun2.phar occurs. I tried to configure path mapping, but it still debugs n98-...
Eugene Morrison's user avatar
2 votes
1 answer
34 views

Template hints showing path from cache instead of original file path

In Vanilla magento2, the file path showing original file path as you can see in below screenshot the file path is showing from vendor after doc root. In one of my working project where cache path is ...
Rajkumar Vellaiswamy's user avatar
2 votes
1 answer
60 views

What is the proper way to get full stack trace of classes/methods that runs on a page?

I have my dev environment with VSCode, Docker, WSL and Xdebug enabled and I can set breakpoints to evaluate all objects that I want on runtime, but sometimes I need to just obtain which classes are ...
Ciphreak's user avatar
1 vote
2 answers
250 views

Cron Debugger not Working

Can anybody tell me how Can I use debugger on the Cron. I tried to do many things, but it doesn't work.
Rana Zain's user avatar
  • 642
0 votes
1 answer
24 views

Having trouble with Xdebug Stack Tracer on a Magento project

At the moment I'm running a Magento project on the 2.4.3 version and when i try to look at the frontend in any browser several tables from the Stack Tracer of Xdebug show up. Before this problem ...
Andrés Chaves 's user avatar
0 votes
3 answers
811 views

How to configure and setup Xdebug in phpstorm for Magento?

I want to use the debugger to debug my module but I don't know how to configure and set up debugger in phpstorm, any hints or solutions?
Afzal Arshad's user avatar
0 votes
1 answer
636 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 ...
Tom aguilera's user avatar
0 votes
2 answers
1k 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&...
Sanaullah Ahmad's user avatar
0 votes
3 answers
2k 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 ...
jojo's user avatar
  • 179
0 votes
0 answers
280 views

PHPStorm Xdebug not working

I would like to configure and check the code flow using the X-debug break-point, so I followed the below tutorial and successfully configured the X-debug in my PHP-storm, I am using php-7.2 https://...
senthil's user avatar
  • 1,729
3 votes
1 answer
1k 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
devhs's user avatar
  • 497
1 vote
1 answer
2k 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 ...
Shekhar Suman's user avatar
0 votes
1 answer
108 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/...
Moshe Shperling's user avatar
22 votes
5 answers
24k 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 ...
senthil's user avatar
  • 1,729
0 votes
1 answer
590 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.
Anton Mikhaylenko's user avatar
1 vote
1 answer
823 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 ...
Jonas de Herdt's user avatar
1 vote
0 answers
68 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 ...
Kevin Chavez's user avatar
0 votes
0 answers
134 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" ...
user83920's user avatar
3 votes
2 answers
2k 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 ...
Tjitse's user avatar
  • 1,290
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 ...
SylwekFr's user avatar
  • 325
2 votes
0 answers
508 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 ...
chdzma's user avatar
  • 952
3 votes
1 answer
6k views

Magento 2 PHPSTORM Xdebug Configuration setup

How to setup and use Xdebug in Magento 2 which is very necessary tool for Magento 2.
Manish Goswami's user avatar
2 votes
0 answers
61 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
prabhakaran7's user avatar
  • 1,077
0 votes
0 answers
207 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+ ;). ...
Asrar's user avatar
  • 642
0 votes
1 answer
303 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.
theSeeker's user avatar
  • 449
4 votes
3 answers
6k 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 ...
Wasim's user avatar
  • 445
3 votes
1 answer
313 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.
fudu's user avatar
  • 1,268
2 votes
1 answer
626 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” ...
Nuno Sousa's user avatar
2 votes
1 answer
849 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 ...
Aditya Shah's user avatar
  • 7,597
0 votes
1 answer
409 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 ...
Alkos's user avatar
  • 33
1 vote
2 answers
2k 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 ...
Eric Seastrand's user avatar
3 votes
1 answer
434 views

Composer Installation Error

My php version php 7 How can I solve this issue?
zus's user avatar
  • 155
2 votes
0 answers
861 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 ...
Hoàng Nguyễn's user avatar
20 votes
7 answers
23k 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 ...
Kevin Chavez's user avatar
4 votes
2 answers
3k 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 ...
xenon's user avatar
  • 885
5 votes
4 answers
4k 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 ...
Filne's user avatar
  • 51
1 vote
1 answer
693 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 ...
D.R.'s user avatar
  • 315
5 votes
0 answers
463 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 ...
Rajkumar .E's user avatar
  • 3,550
0 votes
1 answer
67 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 ...
sejda's user avatar
  • 11
2 votes
2 answers
591 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 (...
ProxiBlue's user avatar
  • 9,926
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 ...
prasad maganti's user avatar
0 votes
1 answer
23 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
Rahul Kathuria's user avatar
3 votes
0 answers
362 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 ...
Kerry Ritter's user avatar
9 votes
1 answer
17k 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\...
Yogesh Trivedi's user avatar
0 votes
1 answer
475 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 ...
Fra's user avatar
  • 6,965