changed debug file extension from .db to .debug