How to enable @ngrx/store-devtools for on-device remote debugging

Hi all,

I’m experimenting with @ngrx/store in my Ionic 2 app, and the @ngrx/store-devtools work well to monitor the store state changes when running in the browser via ionic server. Unfortunately, it doesn’t work when deploying to devices, since it relies on the Redux DevTools Chrome extension to be attached to the global window object (i.e. running in the same browser).

However, the Redux DevTools browser extension does support a remote mode via the Remote button, and a made a simple proxy to allow on-device debugging for deployed apps. Here’s a link to the gist where I detail the setup, in case anyone else is interested:

Cheers,
robert

1 Like