Python node in Dynamo is very austery. Will be good, if developers add debugger and console panel inside of python node. For example: this is python node in Grasshopper (without debugger but better then in Dynamo, because they have a test button):
While it isn't specifically a debugger and console panel, we have made a number of recent improvements to Python nodes that we hope address your request for an improved Python experience in Dynamo. Please take a look at this recent addition in Dynamo's development branch: