In my application I have a developerMode()
function that calls the DevTools
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)
}
}
Could this function start DevTools with some default settings? Is there a way to only enable the Console? I think the native DevTools is very powerful and does what I need, however it has nothing to do visually with my application, I did not want to have to rewrite a custom console.