简体   繁体   中英

How do I use the additional line breakpoint markers in Chrome Dev Tools?

I have the following line selected for a breakpoint within Chrome Dev Tools

线断点

I don't know what the additional markers mean, nor do I know how to use them.

Do these only appear for multiple arrow functions on the same line? Is it possible to stop the code's execution on these markers? If so, how?

Any help is appreciated!

In javascript you're able to just run everything on one line, as long as each line is separated by a ; (wherever a ; would typically be used that is).

What chrome is doing here is it's showing that you can breakpoint at those "lines" as well, all you have to do is click on the indicators to enable them.

They will appear anywhere as long as it's something that could be considered its own line.

在此输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM