Answer the question
In order to leave comments, you need to log in
Chrome devtools. It was possible to launch the debugger from the function entry point. Can't find or disabled?
Hello.
Some time ago (maybe half a year, maybe a year) I noticed that when debugging in Crome DevTools, you can make changes to the code of the function "on the fly" and the debugger "unwinds" the execution at the moment you enter this function. Then I didn’t use it for some time, but today I remembered this convenient “thing” and here’s a failure - the debugger doesn’t want to work this way today (Workspace is configured normally) and works a little differently - when saving the source code during step-by-step debugging, it opens a new tab with the old text and sends to work there. Like "and I will only allow debugging old code." Maybe it was one of the experimental "features"?
Chrome 55 (current version for today), Windows 8.1.
Answer the question
In order to leave comments, you need to log in
Found something funny:
This feature does not work if I am editing code that is not loaded as .js, but is embedded in the .html page. If the file with the code is in a separate .js file, then you can make changes on the fly and the debugger rewinds back.
The mood got better!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question