How to debug ? #1168
Unanswered
stephane303
asked this question in
Help and Questions
How to debug ?
#1168
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Originally I had choosen this library because it was possible to track the access using Vue Devtools.
At present, I am still using Vue 2 (waiting for for Vuetify to be upgraded), and with the new Vue Devtools, I have almost no information about the store access.
There was a bug in the code making an assignement to some value in the store by mistake ( storeData.find( item = testValue) ) using only one equal instead of two.
Finding the bug was hell, what do you recommend to avoid this kind of issue, or to find where the modification of the state was done ?
I tried $subscribe, but the call stack was so huge, that I could'nt find where the mutation was coming from.
Beta Was this translation helpful? Give feedback.
All reactions