I have never tried, but I’m positive that you can make it. Read the documentation for debugging
and have a look at this thread: