NordicPlayground / nrf-docker

Dockerfile example for building nRF Connect SDK applications with GitHub Actions
BSD 3-Clause "New" or "Revised" License
70 stars 34 forks source link

Debugging build after flashing #54

Closed erichotterbeefcurry closed 1 year ago

erichotterbeefcurry commented 1 year ago

Hi, I've set up working containers for my team to build and flash programs to our dev boards, but am getting stuck on debugging. We mostly use nRF Development Kits like nrf52840DK, nordic tools (VS Code extensions, nrf Connect), and JLink while developing. However, after building and flashing, when I try to do west debug or attach, the program seems to be looking for files from the container (/workdir/...), which isn't present on the local side since we are using Macs and cannot flash inside the container. I'm wondering if anyone has done similar things and could offer some help, or if there's a guide on debugging with the nrf docker. Thanks a lot! Screenshot 2023-03-14 at 2 51 10 PM