--- WARNING: GDB cannot open serial ports accessed as COMx --- Using \\.\COM5 instead... --- idf_monitor on \\.\COM5 115200 --- --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- Exception in thread Thread-2 (_run_outer): Traceback (most recent call last): File "threading.py", line 1038, in _bootstrap_inner File "threading.py", line 975, in run File "E:\Espressif\frameworks\esp-idf-v5.0.4\tools\idf_monitor_base\stoppable_thread.py", line 47, in _run_outer self.run() File "E:\Espressif\frameworks\esp-idf-v5.0.4\tools\idf_monitor_base\serial_reader.py", line 52, in run self.serial.open() File "E:\Espressif\python_env\idf5.0_py3.11_env\Lib\site-packages\serial\serialwin32.py", line 64, in open raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError())) serial.serialutil.SerialException: could not open port '\\\\.\\COM5': FileNotFoundError(2, '系统找不到指定的文件。', None, 2)