Troubleshooting
Last updated
Last updated
You might want to know the order in which your Reflexes are called, how long it took to process each Reflex or what the Reflex response payload contains. Luckily you can enable Reflex logging to your browser's Console Inspector.
There are two ways to enable client debugging in your StimulusReflex instance.
You can provide debug: true
to the initialize options like this:
You can also set debug mode after you've initialized StimulusReflex. This is especially useful if you just want to log the Reflex calls in your development environment:
To get debug logging for Sockpuppet you need to make some modifications to LOGGING
in settings.py
. Below you can see an example logging configuration that enables debug-level logging Sockpuppet.