mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-29 12:06:35 -05:00
feat(gui): Display developer responses to feedback (#302)
This commit is contained in:
parent
f1e5cdfbfe
commit
53a994e6dc
19 changed files with 1216 additions and 45 deletions
|
|
@ -38,3 +38,25 @@ You can also check whether the current bindings are up to date:
|
|||
```bash
|
||||
yarn run check-bindings
|
||||
```
|
||||
|
||||
## Debugging
|
||||
|
||||
Because the GUI is running in an embedded browser, we can't use the usual Browser extensions to debug the GUI. Instead we use standalone React DevTools / Redux DevTools.
|
||||
|
||||
### React DevTools
|
||||
|
||||
Run this command to start the React DevTools server. The frontend will connect to this server automatically:
|
||||
|
||||
```bash
|
||||
npx react-devtools
|
||||
```
|
||||
|
||||
### Redux DevTools
|
||||
|
||||
Run this command to start the Redux DevTools server. The frontend will connect to this server automatically. You can then debug the global Redux state. Observe how it changes over time, go back in time, see dispatch history, etc.
|
||||
|
||||
You may have to go to `Settings -> 'use local custom server' -> connect` inside the devtools window for the state to be reflected correctly.
|
||||
|
||||
```bash
|
||||
npx redux-devtools --hostname=localhost --port=8098 --open
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue