There is no direct way to debug in Microsoft InfoPath 2003. However, Microsoft provide a very tricky way to debug in it.
All you need to do is this:
Add a "stop" in the load script.
That's it! Then when you open the InfoPath form, you can choose which debugger you want to debug it, then you can step in, or set other breakpoint in it.