You can call it from Python but if you want to debug into it, you would have to use a switch in your code to make it use the original Python function.
You can also use the environment variable PYTORCH_JIT to disable it for the entire run of your program.