Figma often crashes when I'm debugging my plugin

I’ve found a couple of situations where it is more likely to crash:

  • stepping over a figma global variable access
  • opening the watch panel (adding a variable there is instant death of the process)
  • taking too long in step-by-step execution

Do any other developer experience the same issues? Is there anything that can be done at least to alleviate the issue?