Fix bug: call log function on debugger

Signed-off-by: Philip Luyckx <philip.luyckx@gmail.com>