1. A method for remapping user script code, developed to be run in a host application, to debuggable script code, comprising: determining capabilities of a virtual machine (VM) that is utilized for executing the host application in a runtime environment of an application execution and development framework; instrumenting respective functions in the user script code with one or more guards for detecting an explicit debugging gesture, based on the VM's capabilities; executing the user script code in the runtime environment; and transforming a user script code function into debuggable script code beginning at a stopping point of an explicit debugging gesture in the function of the user script code if an explicit debugging gesture is detected.