During build, the compiler generates, depending on the type of project, different types of output files. Whereas 'Ranorex Console Application' and 'Ranorex Windows Application' generate executables, a Ranorex Library output can not be executed directly. To debug automation code within a Ranorex based library, it is required to define an executable program which references the library. Open the project settings ('Project' | 'Project Options...' to define an external program to start a debug session.
To debug a test code implementation, toggle a break point to cause the debugger to stop the current test process at a specific code line. Use the short cut <F7> to toggle the breakpoint.