BUG Fix debug mode

Now it runs.