debugger: update the module functions types