curdeveryday / vscode-m5stack-mpy

A extension to mange files for M5Stack micropython system
MIT License
32 stars 15 forks source link

Terminal Debugging #4

Open LiuJuiHung opened 4 years ago

LiuJuiHung commented 4 years ago

I was wondering can i use this extension to debug my micropython code. I had already use some connection tools like minicom,ckermit but it's fail. Can I use this extension to watch the result or error from my micropython code?

timmmmmmmmm commented 4 years ago

Agreed. Missing the REPL is a huge disadvantage. When my code isn't working I just get the popup saying 'Run failed' without any feedback.

alptbz commented 2 years ago

Yes, I have to agree. It's pretty much useless without.

alptbz commented 2 years ago

I implemented a dirty hack, outputting nearly everything to a named output (Output =>M5StackSerial). https://github.com/alptbz/vscode-m5stack-mpy/commit/7507e6860fa53ee864be166015cece17602a1025