How to attach vs code debugger to strapi plugin?

After migration to strapi 5 can’t figure out how can I make vscode attach breakpoints to strapi plugins. Did someone succeeded?

This topic has been created from a Discord post (1293595948563300372) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord