Query to Aggregate

I have been using Studio3T for about six months and really like the application. Currently, have Studio 3T Basic for Ubuntu.

I write Aggregation pipelines with stages and then place them in my python code. I cannot seem to figure out how to go the other way. If we have an issues with aggregation in our python code, how do I paste it in Studio 3t and have it convert to pipeline so I can use stages.

Thanks
-Dimitry