Capture errors in production and replay them locally with Redux Dev Tools
No Data
⚡ Direct Integration with Dev Tools https://www.youtube.com/watch?v=GnmtOXGs50c
See this branch https://github.com/timarney/redux-trackjs-logger/tree/remote-dev-tools .
Futher info here https://github.com/zalmoxisus/remotedev-server/pull/20
This project aims to combine Error tracking with Redux Dev Tools to capture errors and user actions from a production setting.
When an error is thrown it is captured by TrackJS. The users actions up to the error point get logged for later retrieval. The error in TrackJS references the log which can imported into a local environment via Redux Dev Tools
Note:
The master branch of this repo saves to a JSON file for import back to Dev Tools.
The remote-dev-tools branch integrates directly with Dev Tools and uses remotedev-server for saving the actions.
Error tracking services such as TrackJS offer great insights into where errors happen. They give us stack traces, network information, grouped error reports and much more.
Redux + Redux Dev Tools give us the ability to step-through state and toggle actions. We can replay and even export / import state when developing locally.
If an error is thrown in production it would be amazing to get the
Error Reportand also be able to see what actions happened leading up to that error. Essentially getting your local development enviroment / app back to the state where the error occured so you can debug locally.
I was listening to @react30 ... at about this point https://youtu.be/JTFYyK3yFmE?t=698 :bulb: :bulb: :bulb:
So I tried something and tweeted about it https://twitter.com/timarney/status/764192482535940096 and here we are (check the note about the future below).
Check out @jrullmann https://medium.com/@jrullmann/redux-error-reports-concept-ab85b658f53e#.6z3oouu71