mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 07:36:44 +00:00
Adding a script that can automatically generate markdown pages from bor CLI, so we can avoid copy-pasting helper strings whenever a flag is created, deleted, or modified. CLI docs could be generated with command `make docs`.
31 lines
No EOL
533 B
Markdown
31 lines
No EOL
533 B
Markdown
# Debug
|
|
|
|
The ```bor debug``` command takes a debug dump of the running client.
|
|
|
|
## Options
|
|
|
|
- ```address```: Address of the grpc endpoint
|
|
|
|
- ```seconds```: seconds to trace
|
|
|
|
- ```output```: Output directory
|
|
|
|
## Examples
|
|
|
|
By default it creates a tar.gz file with the output:
|
|
|
|
```
|
|
$ bor debug
|
|
Starting debugger...
|
|
|
|
Created debug archive: bor-debug-2021-10-26-073819Z.tar.gz
|
|
```
|
|
|
|
Send the output to a specific directory:
|
|
|
|
```
|
|
$ bor debug --output data
|
|
Starting debugger...
|
|
|
|
Created debug directory: data/bor-debug-2021-10-26-075437Z
|
|
``` |