I don't use VS Code, but I like that there's experimentation in this space -- every X minutes, do something to the UI to remind you to take a break.
I currently use Time Out on Mac and every X minutes it slowly greys out the entire screen. The hardest scenario is if I'm in "the zone" and super focused on fixing a bug, etc. and the notification pops up. I end up feeling antagonistic towards the break reminder.
This looks like it's a good balance.