Home  >  Q&A  >  body text

How to manually trigger breakpoints in Javascript code?

The packaged code of the Vue project is difficult to locate where you want to debug when debugging it in Google Chrome. You want to trigger breakpoints in the code so that you can locate the code you want to debug.

淡淡烟草味淡淡烟草味2663 days ago711

reply all(2)I'll reply

  • phpcn_u1582

    phpcn_u15822017-07-05 10:57:55

    According to different breakpoint types, the ways to set breakpoints are also different:


    Chrome DevTools — JS Debugging

    reply
    0
  • 怪我咯

    怪我咯2017-07-05 10:57:55

    Just add debugger where you want to break the point

    reply
    0
  • Cancelreply