1, the installation react-developer-tools, download the chrome app store, because the network limitations reasons, we can use the Firefox browser to install download
a, open the Firefox browser addon
b, search react-developer-tools for installation
React Developer Tools automatically detects React assembly, but in webpack-dev-server mode, WebPACK automatically placed in the assembly React iframe, resulting in failure detection assembly React, workaround is webpack-dev-server disposed --inline to mode.
Two, Redux debugging tools
Reference react installation debugging
import{createStore,applyMiddleware} from"redux"; importreducersfrom"./reducers/num" importReduxThunkfrom"redux-thunk"; import{ composeWithDevTools} from'redux-devtools-extension' conststore= createStore(reducers,composeWithDevTools(applyMiddleware(ReduxThunk))); exportdefaultstore
当store中的数据进行修改的时候我们就可以通过调试工具进行查看