how to debug