[FEATURE] Adds option to use debug as callback, receives method result as argument