New to Telerik Test Studio? Download free 30-day trial

Debug Project

When a test project is compiled, Progress® Test Studio® for APIs generates a .pdb file along with the compiled .dll in order to allow you to debug your project.

To launch the debugger in Visual studio, you can add a Debugger.Launch() statement in the code that you wish to debug. (You wll need a using System.Diagnostics statement too.)

`Debugger.Launch();
`Debugger.Launch()`

Add Debug Statement

Once you have added your Debugger.Launch() statement, run your test project. You will be prompted to approve the degugger launch. Click on "Yes, debug Telerik.ApiTesting.Runner.exe".

Accept Debug Prompt

Next, select a Visual Studio instance.

Select VS Instance

Finally, your code will be loaded in Visual Studio with the debugger, stooped at the Debugger.Launch() statement. You can keep debugging your project from that point on as an ordinary Visual Studio projet.

Debug in Visual Studio

See Also

In this article