changed path to debug.log to be relative