Hi Denis,
I tried to reproduce this by attaching to a basic Blinky sample, and I was never able to attach the debugger without triggering flashing (which I assume is what you experienced).
It turns out that this was a bug in the VS Code Extension. It's now been fixed for the next version which is releasing soon. At that point, the only thing needed to attach with nRF Debug should be to change the requests in launch.json
from "launch
" to "attach
".
Until then, a workaround would be to disable the nrf-connect.debugging.flash
setting.
Hope this solves your issue!
Best regards,
Raoul Pathak
Hi Denis,
I tried to reproduce this by attaching to a basic Blinky sample, and I was never able to attach the debugger without triggering flashing (which I assume is what you experienced).
It turns out that this was a bug in the VS Code Extension. It's now been fixed for the next version which is releasing soon. At that point, the only thing needed to attach with nRF Debug should be to change the requests in launch.json
from "launch
" to "attach
".
Until then, a workaround would be to disable the nrf-connect.debugging.flash
setting.
Hope this solves your issue!
Best regards,
Raoul Pathak