A development tool for visualizing and debugging NgRx state management in Angular applications. Real-time action monitoring, effect tracking, state visualization, diff viewer, and performance metrics — no browser extensions needed.
npm install @amadeus-it-group/ngrx-devtoolIf your project uses a private npm registry and you get an E401 error:
npm install @amadeus-it-group/ngrx-devtool --registry=https://registry.npmjs.org/
// app.config.ts
import { provideNgrxDevTool, createDevToolMetaReducer } from '@amadeus-it-group/ngrx-devtool';
export const appConfig: ApplicationConfig = {
providers: [
provideStore(
{ /* your reducers */ },
{ metaReducers: [createDevToolMetaReducer()] }
),
provideEffects([YourEffects]),
provideNgrxDevTool({
wsUrl: 'ws://localhost:4000',
trackEffects: true,
}),
]
};If you have a separate store module (e.g.
RootStoreModule), addcreateDevToolMetaReducer()inside that module'sStoreModule.forRoot(), not inapp.config.ts:// store.module.ts @NgModule({ imports: [ StoreModule.forRoot( { /* your reducers */ }, { metaReducers: [createDevToolMetaReducer()] } ), EffectsModule.forRoot([YourEffects]) ] }) export class RootStoreModule {} // app.config.ts - only add the devtool provider here providers: [ provideNgrxDevTool({ wsUrl: 'ws://localhost:4000', trackEffects: true }), ]
npx ngrx-devtoolIf your project uses a private registry:
npm_config_registry=https://registry.npmjs.org/ npx ngrx-devtool
Open http://localhost:3000 and start your Angular app.
github.com/amadeusitgroup/ngrx-devtool
MIT