hydrogen: [DISCUSS] Save breakpoints

It would be awesome to save the breakpoints even if atom is restarted.

I see two ways of doing this:

  1. Save the position of the breakpoints to a separate file in the ./hydrogen/ folder. A downside would be, that it will break if the file is changed outside of atom.
  2. Use text to identify breakpoints like # %% and parse the file before execution or add markers to those positions. We could make this language independent by using something like this to get the right comment symbol.

I tend towards the second option. What about you?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

Spyder uses #%%, # %%, # <codecell> or # In[. I think we should support them as well. The last option is quite handy, because this is what jupyter notebook exports.