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