Hi,

I would like to ask for advise on how Lean developers debug Python code that depends on the CLR.

For example, PR #4944 is a fix for this issue in the Research notebook when run locally using Docker:

I am wondering what were the tools and workflow used to identify the root cause of the issue.

As a Python developer, my starting point would be the stack trace. But this exception did not print any. The next thing I'd consider is looking at the source code of the line that threw the exception:

but this is no help at all.

So I'm really curious to know how the developers at QuantConnect go about solving this sort of problem.

I'm new to C# and not very familiar with the tooling around it so feel free to direct me to  resources that can help newcomers understand how the project is structured.