Grasshopper to python script

Hi I was working on translating a grasshopper script to python only is there a easy way to see what each command is doing?

You can use print to verify stuff or output data through an output of the GHPython component - by default a -, which then shows up in the Rhino viewport as long as it is geometry. If it’s other data that has a text representation, you can wire a panel to the output to view it.