Exiting VS Code and re-entering can result in multiple terminal windows with different PIDs. This is confusing and annoying. More appropriate would be to check for an existing terminal named "mpremote" and use it if it exists. The esptool extension does this already, so it should be trivial to implement.
Exiting VS Code and re-entering can result in multiple terminal windows with different PIDs. This is confusing and annoying. More appropriate would be to check for an existing terminal named "mpremote" and use it if it exists. The esptool extension does this already, so it should be trivial to implement.