You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

咨询:是否存在可集成WebStorm的Redux调试工具(类Chrome DevTools)

Redux Tools Integrated with WebStorm Debugger (Similar to Chrome Redux DevTools)

Great question! I totally get wanting to keep your workflow inside WebStorm instead of switching back and forth to Chrome's DevTools. Here are the best options for integrating Redux debugging directly into WebStorm's debugger, just like the Chrome extension you're used to:

Starting with WebStorm 2019.3, the IDE includes native Redux debugging support that matches the core functionality of the Chrome Redux DevTools extension. Here's how to use it:

  • Set up a debug configuration in WebStorm for your React/Redux app (either using the Chrome debug type for browser-based apps, or Node.js for server-side Redux).
  • Launch the debug session. Once your app is running, switch to the Debug tool window in WebStorm.
  • Look for the Redux tab in the debug panel—this is your integrated Redux debugger.
    • You can view every dispatched action, inspect the state before/after each action, use time-travel debugging to jump back to previous states, and even modify the current state directly.
    • It’s fully integrated with WebStorm’s existing debugging tools, so you can set breakpoints in your reducers/actions and debug alongside the Redux state changes seamlessly.

2. Remote Redux DevTools Integration

If you prefer using the full feature set of Redux DevTools (like custom monitors or advanced debugging options), you can connect WebStorm to the Remote Redux DevTools:

  • Install the remote-redux-devtools package in your project via npm/yarn:
    npm install remote-redux-devtools --save-dev
    
  • Update your Redux store configuration to enable remote debugging (follow the package’s official docs for setup details).
  • Start the Redux DevTools server directly in WebStorm’s terminal:
    npx redux-devtools
    
  • While debugging your app in WebStorm, you can either:
    • Open the Redux DevTools web interface in a browser tab (while keeping your main debug session in WebStorm), or
    • Monitor the server logs alongside your debug output right in the IDE’s terminal.

Quick Tips

  • Make sure you’re running WebStorm 2019.3 or newer to access the native Redux debugging tab.
  • For React apps, use WebStorm’s Chrome debug configuration—this ensures the IDE can properly hook into your app’s Redux state.

内容的提问来源于stack exchange,提问作者oddz

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.28 06:30:28