Enable debugger when creating a custom widget

Hi everybody.
Is it possible to enable the debugger when creating a custom widget?
If it is possible, please tell me how to do.
Thanks in advance.

Which debugger are you speaking about? Usually, when creating a custom widget, I make extensive use of the browser console (F12).

Oh F12…
It would be great if I could use something like Visual Studio Code…

I never used its debugger for anything, so sorry, I can’t help on that!