Scripts and .NET Framework > Using the .NET Debugger > Attaching the .NET debugger
  
Attaching the .NET debugger
In oder to have a .NET debugging session, the engineering environment must be connected with the runtime and the .NET debugger attached to server or client process. Follow these steps.
1. When Running the project, either on Run > Test or Run > Startup enable the connect check box.
2. If the project is already running, you can go to Run >Test or Run > Startup, according the runtime you want to attach, and connect to the runtime system, pressing the connect button on those pages.
3. Open any script that has debugging information and press the Attach .NET debugger button. A message on the bottom of the engineering workspace will show that a debugging session is active with the server components or the client components of the running project.
4. When the .NET debugger is attached the system will stop on the defined breakpoints and it will also stop automatically when any .NET Exception occurs.