Skip to main content
2 of 4
edited body
Amit Bera
  • 77.7k
  • 20
  • 124
  • 239

how to use backtrace in magento 2

In magento 1.x to use backtrace we use

echo Varien_Debug::backtrace(true, true); exit;

How can we use this facility in Magento 2