host_callback: replace host_callback with debug.callback
Fixes the bug created by the deprecated host_callback.
Sorry for this unnecessary merge request: I had already a local branch and I couldn't manage to push the local branch to the branch related to the issue.