How to manually trigger breakpoints in Javascript code?
淡淡烟草味2017-07-05 10:55:55
0
2
686
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.
According to different breakpoint types, the ways to set breakpoints are also different:
Chrome DevTools — JS Debugging
Just add
debugger
where you want to break the point