Error on debug reset with PIO Unified Debugger

I have started to get this message in VSCode when I do a debug reset with PIO Unified Debugger
“Cannot convert object to primitive value”

The debugger does not successfully reset. Does anyone have an idea of what if going on and a fix? I am using a ST-Link debugger.


How do you do this “debug reset”?

Simply by using green restart button under debugger or Ctrl Shft F5. I debugging a STM32 BluePill using a stlink debugger.

How did you connect your board? Do you use official ST-Link debugger? I’ve just tried my BluePill with official ST-Link and it works.