Debugging a teensy with Platformio vscode plugin

Very technically, the Teensy 4 is hardware-debuggable if you have extreme skills in microsoldering and an external debug probe like a J-Link:

You should use the exact platformio.ini as provided in that project.