Just-in-time debugging is a technique for debugging a program that is started outside of the environment. You can run a program created in Office outside of the environment. If you have enabled Just-in-time debugging, the program will bring up a dialog box when a crash occurs. This dialog box will ask if you want to debug the program and which debugger you want to use.
To enable Just-In-Time debugging