Access `electron.remote.app` in Electron application via DevTools?

I want to access var app = require('electron').remote.app via DevTools in an Electron Application.

Right now, when I open up DevTools & type in var app = require('electron').remote.app I get an error

Uncaught Error: Blocked remote.getBuiltin(‘app’)

How do I access app via DevTools? I don’t want to access it via code. Is it even possible?

So I found the answer. require('electron').remote.app cannot be accessed via DevTools for security reasons as said here :slight_smile: