Add debug logging to Github routes