How to debug a React app