Skip line while debugging in Chrome developer tools

Google ChromeDebuggingGoogle Chrome-Devtools

Google Chrome Problem Overview


Is there a feature in Google Chrome developer tools that would allow skipping a line without it being executed while debugging, in a similar way that it can be done in Visual Studio?

One workaround I can think of is 'live editing' the code by wrapping the line in

if(false){ //line to be skipped }

But this is not the most convenient workaround that I would have to do after every refresh. Is there a built-in or faster, better way of doing this?

Google Chrome Solutions


Solution 1 - Google Chrome

No, and is not going to happen.

Last comment from dev says: >We're going to hold off on this feature for now. It's complexity is high and it's not common enough a workflow. One could also just comment out the lines and hit ctrl-s to get the same effect, pretty much. Status: WontFix –

The workaround is to comment out the line you want to skip and press Ctrl+S.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionMatas VaitkeviciusView Question on Stackoverflow
Solution 1 - Google ChromeMatas VaitkeviciusView Answer on Stackoverflow