For example my repository get items by getList($searchCriteria) where I can see prepared query to base like this SELECT * FROM table. I am use xdebug so I need a line of breakpoint or name of function. Magento2.3
Asked
Active
Viewed 104 times
0
-
this might help you https://magento.stackexchange.com/questions/107361/magento-2-log-database-queries – fmsthird Nov 04 '20 at 13:49
-
You are using xdebug but can't use "Step into"? – simonthesorcerer Nov 04 '20 at 15:05
-
thanks its helpful but I need something like this $collection->getSelect()->__toString(); like in this question https://magento.stackexchange.com/questions/166536/how-to-print-collection-mysql-query-in-magento-2 – Anton Mikhaylenko Nov 04 '20 at 15:08
-
I can use step into but its hundreds off steps, I need shortest path – Anton Mikhaylenko Nov 04 '20 at 15:09