add debug mode

:warning: in progress
that is weird