Share via


How to: View Script Documents

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

In earlier versions of Visual Studio, client-side script files generated from server-side script appeared in the Script Explorer window. The Script Explorer window was often hidden, so that the availability of client-side script was not always obvious.

In Visual Studio 2012, client-side script files generated from server-side script appear in Solution Explorer, which is visible by default. The Script Explorer window has been eliminated.

Client-side script files are visible only when you are in debug mode or break mode. They appear in the Script Documents node.

Server-side script files are always visible. They appear in the <Website Pathname> node. The name of the node resembles this example: c:\...\Website2\

To view a server-side script document

  1. In Solution Explorer, open the <Website Pathname> node.

  2. Double-click the script file that you want to view.

    The server-side script file opens in a source window.

To view a client-side script document

  1. In Solution Explorer, open the Script Documents node.

  2. Double-click the script file that you want to view.

    The client-side script file opens in a source window.

See Also

Viewing Data in the Debugger