JetBrains / intellij-micropython

Plugin for MicroPython devices in PyCharm and IntelliJ
https://plugins.jetbrains.com/plugin/9777-micropython
Apache License 2.0
507 stars 106 forks source link

mac pycharm + micropython, run the program normally, but do not show the content of print('') #209

Open zskangus opened 1 year ago

zskangus commented 1 year ago

mac pycharm + micropython, run the program normally, but do not show the content of print('')

vekunz commented 1 year ago

What are you doing in the program? How do you run the program? What microcontroller do you use? Where do you expect the print() to be shown? You have to give us more information.

zskangus commented 1 year ago

I installed micropython plugin on mac version of pycharm to build a development environment for ESP8266. micropython firmware is also burned in ESP8266.

I can upload and run programs normally, for example, I can control the ESP's LED flashing light.

I found a problem when I was trying to do WIFI connection. I wrote in the code print('connecting to network...') , print("Connection failed!!! The wireless network has been connected for more than 15 seconds, please check if the wireless network name and password are correct...") The messages such as "Connecting to network..." are not visible in the runtime or terminal. But the same test items are visible when run in thonny

vekunz commented 1 year ago

Maybe it is the same thing as here https://github.com/JetBrains/intellij-micropython/issues/208?