Mithil467 / mitype

Typing speed test in terminal
http://mithil467.github.io/mitype
GNU General Public License v3.0
415 stars 62 forks source link

Make debugging easier #145

Closed ClasherKasten closed 2 years ago

ClasherKasten commented 2 years ago

Is your feature request related to a problem? Please describe. I wanted to debug the application using the python debugger through breakpoint(). But because mitype is made using curses, this isn't very easy or even unfeasible.

Describe the solution you'd like There should be a better way to debug the application, An idea for that would be to use remote-pdb Sample scripts to ease the use of the tool could look like the following:

Additional context This code (and the idea) is not mine, instead it is taken from babi

welcome[bot] commented 2 years ago

Thank you for opening your first issue in this project! A contributor should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

Mithil467 commented 2 years ago

Hey @ClasherKasten 👋 Thanks for the issue.

To debug mitype, I use VS Code's python debugging funcionality and it works pretty well. There might be other benefits your solution has to offer, but I would recommend not attaching any debugging scripts to the project, unless it becomes absolutely necessary. And it looks like running it on windows is going to be tricky. Let me know if you need any help here.

ClasherKasten commented 2 years ago

Thanks for the response @Mithil467. I think I don't need any more help on this and just gonna close the issue and corresponding PR, I feel like this is the right choice for now.