考虑到我有100行代码,我想在每一行都有断点,有没有像点击第一行向下滚动到第100行并使用shift-click或control-click来选择其间的所有行来应用断点?
In chrome you can try to use the debug
keyword.
function debug(fn) { [Command Line API] }
For example, paste this code into the Chrome developer console:
function hw() {
alert('hello world');
}
debug (hw);
hw();
It will create a virtual file and start with a breakpoint at your function.
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.