Shared on Mage Dispatch · 04 Sep 2024
How to debug Magento Javascript components in DevTools
Often when debugging frontend functionality, I find myself reaching for access into Magento Javascript components. To either read the current state or invoke various methods within that component to test return values. But how do we do this? How do we get, lets say, the current quote?