1.Someone may have a better solution.(1.有人可能有更好的解决方案。) Try:(尝试:)
debugger;say()
in your console, and then press F11 twice, you will be navigated to a VMxxxx tab, you can add breakpoints there and it will be kept.
(在控制台中,然后按两次F11键,您将导航到VMxxxx选项卡,可以在其中添加断点并将其保留。)
ie next time you run say()
in the console, the breakpoint will be triggered.
(即,下次您在控制台中运行say()
时,将触发断点。)
2.I haven't figured out a way to do it either, but you may try Shift+Enter
to open a new line and ident with spaces, or copy a "tab" from somewhere else (a text editor) and paste it in chrome.(2.我也没有想办法,但是您可以尝试使用Shift+Enter
打开新行并用空格标识,或者从其他地方(文本编辑器)复制“标签”并将其粘贴到铬。)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…