Cannot set breakpoint at if else statement in Chrome developer tool Cannot set breakpoint at if else statement in Chrome developer tool google-chrome google-chrome

Cannot set breakpoint at if else statement in Chrome developer tool


As for Chrome 67, a workaround is that you need to click on the same line in the name.js file to set a breakpoint. A breakpoint will be added automatically in the corresponding name.ts file. It's kind of awkward, but at least makes you stop at the if statement.