Debug Page, Project Designer
Use the Debug page of the Project Designer to set properties for debugging behavior in a Visual Basic or C# project.
To access the Debug page, select a project node in Solution Explorer. On the Project menu, choose <ProjectName> Properties. When the Project Designer appears, click the Debug tab.
This topic does not apply to UWP apps. See Start a debug session (VB, C#, C++ and XAML) for UWP apps.
Configuration and Platform
The following options allow you to select the configuration and platform to display or modify.
Specifies which configuration settings to display or modify. The settings can be Debug (default), Release, or All Configurations.
Specifies which platform settings to display or modify. The choices can include Any CPU (default), x64, and x86.
Start action indicates the item to start when the application is debugged: the project, a custom program, a URL, or nothing. By default, this option is set to Start project. The Start Action setting on the Debug page determines the value of the
Choose this option to specify that the executable (for Windows Application and Console Application projects) should be started when the application is debugged. This option is selected by default.
Start external program
Choose this option to specify that a specific program should be started when the application is debugged.
Start browser with URL
Choose this option to specify that a particular URL should be accessed when the application is debugged.
Command line arguments
In this text box, enter the command-line arguments to use for debugging.
In this text box, enter the directory from which the project will be launched. Or click the Browse button (...) to choose a directory.
Use remote machine
To debug the application from a remote computer, select this check box, and enter the path to the remote computer in the text box.
Enable native code debugging
This option specifies whether debugging of native code is supported. Select this check box if you are making calls to COM objects or if you start a custom program written in native code that calls your project and you must debug the native code. Clear this check box to disable debugging of unmanaged code. This check box is cleared by default.
Enable SQL Server debugging
Select or clear this check box to enable or disable debugging of SQL procedures from your Visual Basic application. This check box is cleared by default.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.