How to: Debug ASP.NET-Based Workflows
You can debug workflows that are started in ASP.NET or workflows that are published as a Web service by attaching to the process in which the workflow is hosted.
To debug an ASP.NET-based workflow
Enable debugging for the ASP.NET application by setting debug = true in the web.config file.
Set the workflow library as the startup project, and set breakpoints on the workflow.
Enter the URL of the default Web page in the workflow project properties Debug option Start browser with external URL text box.
Select Attach to process on the Debug menu.
Select the process to attach to from the Available Processes list.
Attach to the w3wp.exe, webdev.webserver, or aspnet_wp process in which the workflow is hosted.
Click Select next to the Attach To text box.
The Select Code Type dialog box appears.
Select Debug these code types and select Workflow.
Click OK.
Click Attach.
Open the default Web page in a browser and start the workflow.
See Also
Tasks
How to: Set Breakpoints in Workflows
Concepts
Invoking the Visual Studio Debugger for Windows Workflow Foundation
Other Resources
Copyright © 2007 by Microsoft Corporation. All rights reserved.