Debug IronPython in C# Library project

Sep 5, 2011 at 2:39 AM
Edited Sep 5, 2011 at 2:41 AM

Is there any way to tweak a normal C# Library Project to enable IronPython debugging?

The problem comes when I embed IronPython as a part of an application and I want to debug IronPython script along with other code written in C#.  

It would be nice if I can debug the script from within a C# Library Project since I want to keep all relative code together.

Thanks :)

Sep 6, 2011 at 9:28 PM

When creating the ScriptRuntimeSetup you can set the DebugMode property on it to true.   Then you'll be able to attach to the process and debug the Python code.

For more information see: