https://www.alternetsoft.com/videos/integrating-script-debugging

Integrating C# and Visual Basic Script Debugger in your applications

Integrate .NET script debugging into your application to efficiently debug C# and Visual Basic scripts.

.Net script debugging can be integrated into the application to debug C# and Visual Basic scripts.

As the script debugger performs process-wide debugging, it can only debug scripts compiled as executable and executed in a separate application process.

In case script code needs to access objects hosted by the application, it can be implemented by employing interprocess-communication techniques like .NET remoting.