github.com/shrimpyuk/bor@v0.2.15-0.20220224151350-fb4ec6020bae/docs/cli/debug.md (about)

     1  
     2  # Debug
     3  
     4  The ```bor debug``` command takes a debug dump of the running client.
     5  
     6  ## Options
     7  
     8  - ```seconds```: Number of seconds to trace cpu and traces.
     9  
    10  - ```output```: Output directory for the data dump.
    11  
    12  ## Examples
    13  
    14  By default it creates a tar.gz file with the output:
    15  
    16  ```
    17  $ bor debug
    18  Starting debugger...                                                                                 
    19                                                                                                       
    20  Created debug archive: bor-debug-2021-10-26-073819Z.tar.gz
    21  ```
    22  
    23  Send the output to a specific directory:
    24  
    25  ```
    26  $ bor debug --output data
    27  Starting debugger...
    28  
    29  Created debug directory: data/bor-debug-2021-10-26-075437Z
    30  ```