I have a .NET GUI application written in C # and a PDF printer. There is a field in the PDF printer where you can set a command to launch an external application.
In this case, I can print a document with this printer, and the printer will start my EXE file with the file path of the generated PDF file as an argument. How can I debug my application when it is started from the printer?
In Visual Studio 2010, I can set debugging information for command line arguments, and this works fine. But if the application starts from the printer, the application does not work properly. So I want to debug my application when it starts from the printer. How can i do this? Is there a parameter for running an exe file in debug mode or something like this?
source
share