mrblah
mrblah

Reputation: 103717

what process do I attach to for a console app?

When I want to debug a .net console application, what process do I attach to?

Upvotes: 2

Views: 1658

Answers (2)

JaredPar
JaredPar

Reputation: 755587

You should attach to the name of the process you want to debug. Typically this is the same name as the name of the project when opened in Visual Studio.

Upvotes: 2

Fredrik Mörk
Fredrik Mörk

Reputation: 158409

You attach to the application process itself. A console application is no different from a winforms or wpf application in that sense.

Upvotes: 9

Related Questions