How to attach debugger to running code in NCS VSCode?

I have some code that works fine from the debugger, but does not run without the debugger.  I would like to attach the debugger to see what is going on.  However, I don't see an option in VSCode to attach to a running process?  How is that done?

Related