Debugging with VSCode or Pycharm


Does anyone have a guide on how to enable debugging and intellisense for VSCode or Pycharm. I am having a lot if difficulties debugging the errors or stepping through the code.


The script provided here in answer to a related query works well.

Thank You @jaravo!