Fix debug functionality - Default working directory changed.