Using PlatformIO on vscode and I’m able to upload a sketch to my esp32 but when I click monitor the terminal returns: “[Errno 11] Could not exclusively lock port /dev/ttyUSB0”
I’m not a linux expert but it looks like another tasks still blocks the serial port.
Since upload works without issues, it might be the upload task is causing this.
Close all running PlatformIO tasks and try again.
If the problem persists - try to see which process is blocking with lsof
lsof /dev/ttyUSB0