Skip to content

Commit d57521c

Browse files
Update README.md (#948)
1 parent 3bb3d7b commit d57521c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,12 @@ Sometimes you may find it useful to see the actual request and response details
135135
You can activate the debug mode as follows:
136136

137137
```python
138-
client = RESTClient(trace=True)
138+
client = RESTClient(trace=True, verbose=True)
139139
```
140140

141141
### What Does Debug Mode Do?
142142

143-
When debug mode is enabled, the client will print out useful debugging information for each API request. This includes: the request URL, the headers sent in the request, and the headers received in the response.
143+
When debug mode is enabled, the client will print out useful debugging information for each API request. You need to enable `verbose=True` too so that you log the trace or already have your own logger configured. This includes: the request URL, the headers sent in the request, and the headers received in the response.
144144

145145
### Example Output
146146

0 commit comments

Comments
 (0)