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
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