简体   繁体   English

在 Node.js 中使用 Chrome Devtools 调试 Redux

[英]Debugging Redux using Chrome Devtools in Node.js

When using the redux-devtools-extension in my web app's codebase, I'm able to debug Redux actions and state changes in the browser.在我的 Web 应用程序的代码库中使用redux-devtools-extension时,我能够在浏览器中调试 Redux 操作和状态更改。

If I run Node.js with --inspect and debug in Chrome, I expect to see the same behavior, but I only see the message:如果我使用--inspect运行 Node.js 并在 Chrome 中调试,我希望看到相同的行为,但我只看到消息:

No store found.没有找到商店。 Make sure to follow the instructions.确保按照说明进行操作。

How can I use Redux DevTools when doing Node.js development with --inspect ?在使用 --inspect 进行 Node.js 开发时如何使用 Redux --inspect

https://github.com/zalmoxisus/remote-redux-devtools https://github.com/zalmoxisus/remote-redux-devtools

remote-redux-devtools can be used for node.js remote-redux-devtools可用于 node.js

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM