Improve support for debugging C# plugins