Added support for console.debug.

Signed-off-by: marco.minetti <marco.minetti@novetica.org>