Skip to content
Projects

NetSuite DevTools

A Chrome DevTools panel for NetSuite developers: write and run SuiteScript 2.x snippets against any account you are logged into, with N/* modules preloaded and an interactive result viewer.

Year
2025
Role
Design, engineering
Stack
JavaScript, Chrome MV3, CodeMirror
Source

Every NetSuite developer has the same tab open: a browser console where they paste a require call to poke at a record on the account they are signed into. NetSuite DevTools turns that habit into a panel.

The playground

On any NetSuite page, Chrome DevTools gets a NetSuite DevTools tab with a SuiteScript 2.x editor. The N/* modules are bound to window when the panel loads, so record.load(...) or search.create(...) run without the require ceremony; anything not auto-exposed can still be loaded the usual way. One-click snippets insert the common patterns: current record, search, load record, send email. Run the snippet and both the console output and the return value render in an interactive JSON viewer under the editor.

Small by design

Plain JavaScript, Chrome MV3, and vendored CodeMirror and JSON viewer. There is no build step: the source folder loads directly as an unpacked extension. It runs against whatever session you already have, so there are no credentials, no Integration Record and no server.

Status

MIT licensed and public on GitHub, not published to the Chrome Web Store, and marked as a hobby project that is not actively maintained. Stock Lens, the extension that came after it, took the same “reuse the session” idea and shipped it properly.

Technology

  • Chrome Extension Manifest V3 with a DevTools page that registers the panel on any NetSuite domain. Snippets run through chrome.devtools.inspectedWindow.eval, inside the page you are inspecting, which is what gives them the signed-in session and the loaded N/* modules for free.
  • CodeMirror as the editor and a vendored JSON viewer for the results, both loaded from the repo with no bundler and no build step.
  • Plain JavaScript throughout, with ESLint and Prettier as the only tooling. MIT licensed.