John M. John M. - 2 months ago 25
React JSX Question

How to make the dev tools not show up on screen by default : electron

I am using this boilerplate to create an electron-react app. The dev tools show up on the screen by default. How can I make the dev tools only appear when I ask for them and not show up on launch?

Also, there are no errors shown in the console, so the dev tools are not showing up because there's an error.

enter image description here


I think you will be able to run without devtools open if you remove this line: