I have a console application that is triggered by an event in the database. This application runs in under a second and exits awaiting the next trigger. I'm having an issue on the server that I cannot replicate on my dev machine so need to remotely debug the application on the server.
How can I attach to the process to remotely debug this application when the process is so short lived?