1. A method for debugging code during runtime, comprising: providing, from an outside process, a trigger to a daemon, wherein the trigger is associated with a registered callback function; providing, from the daemon, the trigger to one or more designated tasks of a job; executing, by the one or more designated tasks, the registered callback function associated with the trigger; and returning, from the one or more designated tasks to the daemon, execution results of the registered callback function.