Fixed debugger code

Signed-off-by: lg188 <lander.ghekiere@gmail.com>