I want to select a large consecutive body of code in the Chrome console and add breakpoints to all lines en mass without adding them one-by-one. I want to know if this is possible and if so how.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
F10lets you step through your code one step at a time if you’re already hit a breakpoint!There are four ways to end up at a breakpoint:
debugger;on the line you want to break on in your source code (often convenient!)Enjoy!