Hi,
I’m stuck… most of the time I end up with lots of debugger tabs, manually closing 'em is tedious. How could I close all such with a (user)script?
Hi,
I’m stuck… most of the time I end up with lots of debugger tabs, manually closing 'em is tedious. How could I close all such with a (user)script?
Hey @agroszer,
All the debug tabs are managed under ko.dbg.tabManager = {}
.
You should be able to loop through that objects keys and call ko.dbg.tabManager.closeTab(ko.tabManager.tabManagers[key])
on each.
var keys = Object.keys(ko.dbg.tabManager.tabManagers);
keys.forEach((key) => {
ko.dbg.tabManager.closeTab(ko.dbg.tabManager.tabManagers[key])
});
yay! works like a charm, thanks!