共用方式為


Property Pages Settings for Web Projects

You can change the property settings for a web site debug configuration in the Property Pages dialog box, as discussed in Debug and Release Configurations. The following tables show where to find debugger-related settings in the Property Pages dialog box.

Configuration Properties folder (Start Options category)

Setting

Description

Start Action

Heading that groups options related to application startup.

Use current Page

Specifies the current page as the starting point for debugging.

Specific page:

Specifies the Web page where you want to begin debugging.

Start external program:

Specifies the command for launching the program you want to debug.

Command line arguments:

Specifies arguments for the command specified above.

Working directory:

Specifies the working directory of the program being debugged. In Visual C#, the working directory is the directory the application is launched from, \bin\debug by default.

Start URL

Specifies the location of the Web application you want to debug.

Don't open a page. Wait for a request from an external application

Says to wait for a request from an external application. This option does not launch Internet Explorer or another application. It just prepares for debugging when called by an application.

Server

Heading that groups options related to the server to be used.

Use default Web server

Says to use the default Web server.

Use custom server

Allows you to enter the Base URL to use as the server.

Debuggers

Heading that groups options related to type of debugging to be done.

ASP.NET debugging

Enables debugging of server pages written for the ASP.NET development platform. You must specify a URL in Start URL.

Native code debugging

Enables you to debug calls to native (unmanaged) Win32 code from your managed application.

SQL Server debugging

Allows debugging of SQL Server database objects.

Silverlight debugging

Allows debugging of Silverlight components.

See Also

Other Resources

Debug Settings and Preparation