Add debug logging
0.0.3