Debugging .vue files in chrome
WayneUong opened this issue · 4 comments
WayneUong commented
Is there a way I can set breakpoints for vue component files in chrome? The console logs always point to the wrong lines that are unavailable for breakpoints:
TypeError: Cannot read property 'name' of undefined
at Proxy.__vue_options__.render (test.vue:103)
jamesgibson14 commented
Has anyone figured this out, everything else is working great in our Meteor Vue Stack, but debugging client side is very difficult because of this?
marvinside commented
Try to disable Javascript Sourcemaps in Chrome Devtools.
- Click
⋮icon in top right corner - Click
Settings - Disable
Enable JavaScript source maps(Section Sources)
Your is now not as fancy as before, but now line numbers should work better.
GeoffreyBooth commented
WayneUong commented
@GeoffreyBooth @Akryum Have you published the fix in an official release yet? Thanks!
