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
  • Yes, very important feature. Miss that from SES.

    Many times your code is running, and in a state where you want to attach and debug it .. but not restart it.

    No doubt present state of NCS/VSCode debugging is sorely lacking from what was available in SES.

    Very hard to find clear information. Even something simple like setting up a VSCode project to view Cortex Peripherals, referencing a SVD file.

Reply
  • Yes, very important feature. Miss that from SES.

    Many times your code is running, and in a state where you want to attach and debug it .. but not restart it.

    No doubt present state of NCS/VSCode debugging is sorely lacking from what was available in SES.

    Very hard to find clear information. Even something simple like setting up a VSCode project to view Cortex Peripherals, referencing a SVD file.

Children
No Data
Related