File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,33 @@ The following is a brief explanation of each available command.
102
102
* ` validate-config ` : Validates the ` .codeclimate.yml ` file in the current working directory.
103
103
* ` version ` : Displays the current version of the Code Climate CLI.
104
104
105
+ ## Debugging
106
+
107
+ Occasionally light may be shed on issues encountered during analysis by turning
108
+ on debug mode and tweaking some additional settings that may be configured via
109
+ environment variables.
110
+
111
+ - To run ` codeclimate ` in debug mode:
112
+
113
+ ```
114
+ CODECLIMATE_DEBUG=1 codeclimate analyze
115
+ ```
116
+
117
+ Prints additional information about the analysis steps, including any stderr
118
+ produced by engines.
119
+
120
+ - To increase the amount of time each engine container may run (default 15 min):
121
+
122
+ ```
123
+ CONTAINER_TIMEOUT_SECONDS=1800 codeclimate analyze // 30 minutes
124
+ ```
125
+ - You can also configure the default alotted memory with which each engine runs
126
+ (default is 512_000_000 bytes):
127
+
128
+ ```
129
+ ENGINE_MEMORY_LIMIT_BYTES=1_000_000_000 codeclimate analyze // 30 minutes
130
+ ```
131
+
105
132
## Copyright
106
133
107
134
See [ LICENSE] ( LICENSE )
You can’t perform that action at this time.
0 commit comments