0

When I serve my Vue js app, I'm using parcel serve index.html In the app, I placed a debugger keyword.

When running the app and open the dev tools in chrome I got something like this it stops at some random line It stops at some random line while I actually wanted to debug on the other part of my code

How can I map the breakpoint to the intended part? does parcel able to do this? IIRC that called source map, right? I read the docs seems only has the option to disable the source map

otong
  • 1,387
  • 2
  • 17
  • 28

1 Answers1

1

Ok, seems I have to delete the dist and .cache folder now it works again

otong
  • 1,387
  • 2
  • 17
  • 28