Added store devtools
This commit is contained in:
parent
700c3ef550
commit
95712b3e7b
|
@ -11,6 +11,7 @@ import {provideServiceWorker} from "@angular/service-worker";
|
|||
import {environment} from "../environments/environment";
|
||||
import {IonicRouteStrategy, provideIonicAngular} from "@ionic/angular/standalone";
|
||||
import {MessagesEffects} from "./messages/store/messages.effects";
|
||||
import {provideStoreDevtools} from "@ngrx/store-devtools";
|
||||
|
||||
function initializeKeycloak(keycloak: KeycloakService, locationService: Location) {
|
||||
return () =>
|
||||
|
@ -46,6 +47,14 @@ export const appConfig: ApplicationConfig = {
|
|||
provideRouter(ROOT_ROUTES, withComponentInputBinding()),
|
||||
provideStore(),
|
||||
provideEffects([MessagesEffects]),
|
||||
provideStoreDevtools({
|
||||
maxAge: 25, // Retains last 25 states
|
||||
logOnly: !isDevMode(), // Restrict extension to log-only mode
|
||||
autoPause: true, // Pauses recording actions and state changes when the extension window is not open
|
||||
trace: false, // If set to true, will include stack trace for every dispatched action, so you can see it in trace tab jumping directly to that part of code
|
||||
traceLimit: 75, // maximum stack trace frames to be stored (in case trace option was provided as true)
|
||||
connectOutsideZone: true // If set to true, the connection is established outside the Angular zone for better performance
|
||||
}),
|
||||
provideAnimations(),
|
||||
provideHttpClient(withInterceptorsFromDi()),
|
||||
KeycloakService,
|
||||
|
|
Loading…
Reference in New Issue