How to debug the capacitor