Javascript Debugging line by line using Google Chrome

前端 未结 2 1745
梦谈多话
梦谈多话 2020-11-27 11:09

How can I step through my javascript code line by line using Google Chromes developer tools without it going into javascript libraries?

For example, I am heavily usi

2条回答
  •  一向
    一向 (楼主)
    2020-11-27 12:02

    ...How can I step through my javascript code line by line using Google Chromes developer tools without it going into javascript libraries?...


    For the record: At this time (Feb/2015) both Google Chrome and Firefox have exactly what you (and I) need to avoid going inside libraries and scripts, and go beyond the code that we are interested, It's called Black Boxing:

    enter image description here

    When you blackbox a source file, the debugger will not jump into that file when stepping through code you're debugging.

    More info:

    • Chrome: Blackbox JavaScript Source Files
    • Firefox: Black box libraries in the Debugger

提交回复
热议问题