I am facing challenges with debugging in Vue.js, especially when it comes to debugging computed properties or data values in templates.
Currently, I am using the IIFE method for debugging as shown in :
<h2 dir="auto">
{{(function(){debugger;let temp = headerMessage})() || headerMessage}}
</h2>
Another issue I encountered is related to source maps in Chrome for debugging Vue files. The duplicates with different codes from one file can be confusing and not helpful for effective debugging (the example of panel.vue shown below is not the actual one from my project). I want to see the original panel.vue file to debug effectively:
https://i.sstatic.net/k1mnJ.png
I am looking for a solution to fix this problem and wondering if there is a way to set breakpoints properly and debug these specific parts in Vue.js?