Noob stuck on ESP32-CAM+MB with PIO/vscode

[See my next post below which may be more useful]

  1. I did a Arduino import on this:
    arduino-esp32/libraries/ESP32/examples/Camera/CameraWebServer at master · espressif/arduino-esp32 · GitHub
    then i selected the #define CAMERA_MODEL_AI_THINKER and set the ssid/password string constants. I realize a lot of thing could go wrong in that code but i am stuck on getting a trace.
  2. I just added the monitor speed:
[env:esp32cam]
platform = espressif32
board = esp32cam
framework = arduino
monitor_speed = 115200
  1. I believe so. I see no error and the upload seems to work fine. I see this at upload:
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP32-D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 9c:9c:1f:c8:27:e0
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 15872 bytes to 10319...
Writing at 0x00001000... (100 %)
Wrote 15872 bytes (10319 compressed) at 0x00001000 in 0.6 seconds (effective 205.2 kbit/s)...
[....]
Writing at 0x001a4000... (100 %)
Wrote 2102800 bytes (1663942 compressed) at 0x00010000 in 100.8 seconds (effective 166.9 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

But on the serial monitor, no trace from the code (i added a string in the println line 30 at the start of setup()):

--- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at http://bit.ly/pio-monitor-filters
--- Miniterm on /dev/ttyUSB0  115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---

And if i do C-T C-I, I get:

--- Settings: /dev/ttyUSB0  115200,8,N,1
--- RTS: active    DTR: active    BREAK: inactive
--- CTS: inactive  DSR: inactive  RI: inactive  CD: inactive
--- software flow control: inactive
--- hardware flow control: inactive
--- serial input encoding: UTF-8
--- serial output encoding: UTF-8
--- EOL: CRLF
--- filters: default

And i just checked my user is in dialout and plugdev groups.