mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-02-19 21:10:55 +03:00
commit
2e61f11de2
|
@ -1,5 +1,12 @@
|
|||
# Change Log
|
||||
|
||||
## 4.1.0
|
||||
|
||||
### Minor changes
|
||||
|
||||
- adds CLI argument to change ping timeout `--pingTimeout=20000` to make debugging easier
|
||||
- fixes `--maxRequestBody` argument
|
||||
|
||||
## 4.0.0
|
||||
|
||||
### Major Changes
|
||||
|
|
|
@ -99,6 +99,7 @@ To use WSS, set `protocol` argument to `https` and provide `key`, `cert` and `pa
|
|||
| `--logLevel` | the socket server log level - 0=none, 1=error, 2=warn, 3=info | 3 |
|
||||
| `--wsEngine` | the socket server web socket engine - ws or uws (sc-uws) | ws |
|
||||
| `--open` | open Redux DevTools as a standalone application or as web app. See [Open Redux DevTools](#open-redux-devtools) for details. | false |
|
||||
| `--pingTimeout` | if debugged app is not responding for 20 seconds (because it paused on breakpoint) the Redux DevTools will disconnect. This can extend it to e.g. 8 hours `28000000`ms | 20000 |
|
||||
|
||||
### Inject to React Native local server
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@redux-devtools/cli",
|
||||
"version": "4.0.0",
|
||||
"version": "4.1.0",
|
||||
"description": "CLI for remote debugging with Redux DevTools.",
|
||||
"homepage": "https://github.com/reduxjs/redux-devtools/tree/master/packages/redux-devtools-cli",
|
||||
"bugs": {
|
||||
|
|
|
@ -24,6 +24,7 @@ export interface Options {
|
|||
dbOptions: DbOptions;
|
||||
maxRequestBody: string;
|
||||
logHTTPRequests?: boolean;
|
||||
pingTimeout: number;
|
||||
logLevel: 0 | 1 | 3 | 2;
|
||||
wsEngine: string;
|
||||
}
|
||||
|
@ -59,9 +60,10 @@ export default function getOptions(argv: { [arg: string]: any }): Options {
|
|||
undefined,
|
||||
},
|
||||
dbOptions: dbOptions,
|
||||
maxRequestBody: argv.passphrase || '16mb',
|
||||
maxRequestBody: argv.maxRequestBody || '16mb',
|
||||
logHTTPRequests: argv.logHTTPRequests,
|
||||
logLevel: argv.logLevel || 3,
|
||||
pingTimeout: argv.pingTimeout || 20000,
|
||||
wsEngine:
|
||||
argv.wsEngine || process.env.npm_package_remotedev_wsengine || 'ws',
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user