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?

Parents Reply
  • Einar, I followed the steps to add a configuration with the "attach" request.  It does indeed attach to a running process.  However, none of the symbols are loaded so no call stacks are visible and no source code debugging.  Is there a way to set this up so that the debugger is setup (symbols loaded, etc) for whatever the current application is in the nrf connect extension "Applications" view?

Children
Related