0
In my application I have a function developerMode()
who makes the Devtools call
function developerMode() {
var r = confirm(lang.developerModeConfirm);
if (r == true) {
remote.getCurrentWindow().toggleDevTools();
app.mode = 'dev'
console.log(lang.developerModeOn)
} else {
console.log(lang.developerModeOff)
}
}
Would it be possible for this function to start Devtools with some default settings? Is there a way to enable only the Console? I think native Devtools is very powerful and does what I need, but it has nothing to do visually with my application, I didn’t want to have to rewrite a custom console.