ngrx-devtool-debugger

Debug and visualize NgRx state, actions, and effects in Angular applications.

4|Updated May 16, 2026
One-click install
npx skills add https://github.com/reason-machines/devtools-skills --skill ngrx-devtool-debugger-reason-machines
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ngrx-devtool-debugger
Source: https://github.com/reason-machines/devtools-skills/tree/main/skills/ngrx-devtool-debugger
Command: npx skills add https://github.com/reason-machines/devtools-skills --skill ngrx-devtool-debugger-reason-machines

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @amadeus-it-group/ngrx-devtool.

What problem does it solve? Debugging NgRx state management in Angular apps is difficult without visibility into dispatched actions, state transitions, and effect execution, especially when browser extensions are unavailable or restricted. ## Core Features & Use Cases - Real-Time Action Monitoring: Track every dispatched NgRx action with before/after state diffs through a dedicated WebSocket-connected UI. - Effect Tracking: Monitor NgRx effects execution when trackEffects is enabled, without modifying effect code. - Performance & History Controls: Limit stored actions with maxActions, filter high-frequency actions via custom meta-reducers, and disable the tool in production builds. - Use Case: While developing an Angular storefront, run npx ngrx-devtool, connect your app via provideNgrxDevTool, and inspect why a cart action fails to update state by viewing the action payload and state diff in the DevTool UI. ## Quick Start Set up the NgRx DevTool in my Angular app and start the debugging server so I can monitor store actions and state changes in real time.

Frequently Asked Questions about ngrx-devtool-debugger

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up NgRx DevTool in an Angular app?▼

Install @amadeus-it-group/ngrx-devtool as a dev dependency, add createDevToolMetaReducer() to your store's metaReducers, and call provideNgrxDevTool with your WebSocket URL. Then run npx ngrx-devtool to start the server and UI.

How to debug NgRx state without Redux DevTools browser extension?▼

NgRx DevTool runs a standalone WebSocket server and dedicated UI instead of a browser extension. Your Angular app connects to ws://localhost:4000 and streams actions, state diffs, and effect activity to the UI on port 3000.

Does NgRx DevTool work with NgModule-based Angular apps?▼

Yes, it supports both standalone and NgModule configurations. For NgModule apps, import NgRxDevToolModule.forRoot() with your config and register the meta-reducer in StoreModule.forRoot.

Why are my NgRx actions not appearing in the DevTool?▼

Actions only appear if createDevToolMetaReducer() is registered in the store's metaReducers and the enabled option is true. Also verify the WebSocket server is running and the wsUrl matches the server port.

Can I use NgRx DevTool in production builds?▼

It is designed for development and should be disabled in production. Set enabled based on environment flags and conditionally include the meta-reducer only when devToolEnabled is true to avoid performance overhead.

Why is the state diff viewer empty after dispatching actions?▼

Empty diffs usually mean the reducer mutates state instead of returning a new object reference. Ensure reducers use immutable updates with the spread operator, and check for circular references that break state serialization.