Exploring Vue.js for the first time has been a delightful experience. The transition from using JQuery, where manual work was necessary and inefficient, to Vue.js has been smooth. A major advantage of JQuery was being able to debug the code easily in the Chrome debugger, adding breakpoints wherever needed to analyze the application.
Now with Vue.js, utilizing vue-cli
and npm
to create and build the Vue application that compiles the app code into dist/build.js
, I encountered an issue within a method of one Vue component. While no errors are visible, the expected behavior is not occurring as intended.
Is there a way to insert a breakpoint specifically within this method to observe its input, execution flow, and step-by-step progression?
Upon inspection, it appears that the source code I wrote within the Vue component resides inside build.js
, compressed within a lengthy string enclosed within an eval function.