0

I'm debugging a python code in visual studio code. I have employed breakpoints. I got an error and corrected it. How can I restart from that error point? (I mean, how can I avoid re-running everything from the beginning.) Also, let me know if there is a way in any other IDE.

2 Answers2

0

This is called hot reloading, but it comes with a cost

this seems to be your best bet, https://github.com/breuleux/jurigged

also this is a duplicate of hot reloading / swapping with Python

Sobhan
  • 333
  • 2
  • 8
0

You need to add this in the launch.json file:

  "autoReload": {
    "enable": true
  },

You can refer to this page for more information.

Steven-MSFT
  • 7,438
  • 1
  • 5
  • 13