You should try something like this:
https://www.amazon.it/gp/product/B08C741R65/ref=ppx_yo_dt_b_...
Not all USB-C -> HDMI connectors work properly. This works with Huawei P20 Pro
I suggest this before going with the USB debugging way (using the android console and tools)