Home > OS >  How to print a object's value while debugging python in vscode?
How to print a object's value while debugging python in vscode?

Time:02-07

What function (if any) should I implement so that VScode (or really python) can pick up the value of a user defined object in the VScode variable pane whilst debugging?

In this enter image description here

With __repr__ method - enter image description here

  •  Tags:  
  • Related