Magento 2 Debugging Tricks – setData, DataObject.php & PHP xDebug by Matheus Gontijo MageCheckout Magento Magento 2 Debugging Tricks – setData, DataObject.php & PHP xDebug by Matheus Gontijo Magento 2 – PHP Xdebug super-technical hands-on! Techniques, strategies, tips & tricks to debug Magento 2! GitHub Gist with notes: See more here Tweet Pin It Related Posts Start an Online Store with Magento | Mega eCommerce Sales Summit | Vivek Raina | Unicommerce Magento 2.3 Admin Panel Dashboard | Magento 2 Tutorial | Magento development MMVS#9 on Brave New World of Magento 2.4.0 About The Author magecheckout 8 Comments Magento Explore August 23, 2020 Reply Nice guide, people can also Please watch #magentoexplore Marcelo Iwata August 23, 2020 Reply Great content and you explained clearly and with enthusiasm. Keep on with your work. MustHaveChannel August 23, 2020 Reply apparently beING HIGH o coCAINE heLPS in magento DEBUGGing. OH LOOK THERE IS A COMMENT BUTTON… Milton Eduardo Oña Triana August 23, 2020 Reply Very good your videos my friend, thanks for helping us to the developer community that we are learning Magento. Can you create and update products in bulk using DataObjetc.php? I need to migrate products that I have in a mysql database to the Magento database. Thanks for your help. Warren Beyda August 23, 2020 Reply How do you debug routes in xml files? Is there a way to see what routes the controller tries? In python's Django framework you have a debug setting that shows all the tried routes when a page 404's or has a bad request. Hardik Thakkar August 23, 2020 Reply Thanks for the video Matthew. What debug extension you are using? Is it possible to debug when your code is not executing on remote server instead local? Mohamed Mekkaoui August 23, 2020 Reply Thank you man !! your enthusiasm is very appreciated !I have so many issues with setting up remote xdebug in my lxc or vagrant env, sometimes its works and I don't know why, and it is for me all just a waste of time, I gave up, I'm used now to log oriented debuging, it sucks but what you gonna do .. Simon Sprankel August 23, 2020 Reply Thanks for the video! This should also be possible with a simple conditional breakpoint. The condition would be something like $key == 'val' || in_array('val', array_values($key)). This way, one would not need to edit the core class (which of course does not matter during debugging, but still). Leave a Reply Cancel reply Save my name, email, and website in this browser for the next time I comment.