--- layout: docs title: Debugging N1 edit_url: "https://github.com/nylas/N1/blob/a2c697754ad692e6a54629ffd93883dda79b0d78/docs/Debugging.md" ---

Chromium DevTools

N1 is built on top of Electron, which runs the latest version of Chromium (at the time of writing, Chromium 43). You can access the standard Chrome DevTools using the Command-Option-I (Ctrl-Shift-I on Windows/Linux) keyboard shortcut, including the Debugger, Profiler, and Console. You can find extensive information about the Chromium DevTools on developer.chrome.com.

Here are a few hidden tricks for getting the most out of the Chromium DevTools:

Nylas Developer Panel

If you choose Developer > Relaunch with Debug Flags... from the menu, you can enable the Nylas Developer Panel at the bottom of the main window.

The Developer Panel provides three views which you can click to activate:

The Developer Panel also allows you to toggle "View Component Regions". Turning on component regions adds a red border to areas of the app that render dynamically injected components, and shows the props passed to React components in each one. See {react} for more information.

The Development Workflow

If you're debugging a package, you'll be modifying your code and re-running N1 over and over again. There are a few things you can do to make this development workflow less time consuming:

In the future, we'll support much richer hot-reloading of plugin components and code. Stay tuned!