On this page ▾
Introduction
The devtools inspect a running Angular app. They read components, signals, injectors, routes, forms, pipes, NgRx stores, HTTP calls and hydration. They also scan your source files, so they can answer questions before the app even runs.
The same tool runs in several places. It is built with Devframe, so one definition powers every mode.
@santoshyadavdev/ng-devtools: the server side, the browser overlay, the in-page popup, the CLI and the built UI. See Installation.
What it inspects
Live inspectors
These tabs read the running page through Angular's debug API. They need a development build.
@ngrx/signals stores with a change log, diffs and state restore, plus the @ngrx/store state and action log.
Project overview
| Tab | What it shows |
|---|---|
| Dashboard | The Angular and TypeScript versions, SSR status and a count for each inspector. |
| Analog | File routes, server calls, render modes, content and lint for Analog apps. |
Source scan
The devtools also read your source files. Components, routes, signals, providers, NgRx declarations and pipes show up even with no page connected. The standalone CLI and the static report run on the source scan alone.
Agent tools
The inspectors are exposed as MCP tools and resources, so a coding agent can read and act on the running app. See MCP server.
Ways to run it
Inside your app
Your app's server hosts the devtools, and a script in the page sends live data to it. A floating button on the page opens the panel next to your app.
| Setup | Server part | Guide |
|---|---|---|
| Angular CLI with SSR | initNgDevtoolsHub() |
Angular CLI and Express |
| SSR on Hono, h3 or Fastify | initNgDevtoolsHub() |
Hono, h3 and Fastify |
| Analog | The Vite plugin | Vite and Analog |
| Chrome DevTools (extra) | One of the setups above | Chrome extension |
Outside your app
| Mode | What you get |
|---|---|
| Standalone CLI | A local server that serves the devtools UI over the source scan. |
| Static report | An offline HTML build of the source scan. |
| MCP server | Every inspector exposed to coding agents over stdio. |
All three come from the ng-devtools binary. See Standalone CLI.
Built on Devframe
The devtools are a Devframe tool. Devframe lets one tool definition run in many places, so the inspectors, the RPC functions and the agent tools are written once.
What Devframe provides
@devframes/hub, so other Devframe tools can join the same dock next to the devtools.
Requirements
window.ng, which production builds remove.
FAQ
server.ts. An Analog app gets it from the Vite plugin. Without either, the standalone CLI serves the source scan.
Where to next
analog().