In the old version of chrome, I can set breakpoint at if else statement to view the value of object in if condition.
But when upgraded chrome to the latest version, I cannot do it now. The breakpoint is auto place inside the if block. It make difficult to debugging, has to place two breakpoint if I want to debug at if else statement
My source code is not minify or truncate anything else.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With