search

Home  >  Q&A  >  body text

javascript - How vue.js captures the front-end exception triggered by the user and gets the number of lines of code before it is packaged.

Before the project goes online, prepare an exception capture function to proactively understand where bugs exist in the front-end project. However, when the ordinary exception capture was sent to my email, I saw that it only contained the number of lines of code after packaging, so it was troublesome to fix bugs. I would like to ask a master how to catch front-end exceptions and obtain the number of lines before packaging when developing a vue.js project?

学习ing学习ing2722 days ago837

reply all(1)I'll reply

  • 过去多啦不再A梦

    过去多啦不再A梦2017-06-20 10:08:27

    Enable sourcemap when packaging with webpack

    reply
    0
  • Cancelreply