trying to get debug working