Skip to content

Remote debugging to a RaspberryPi #1450

@MBJBOGO

Description

@MBJBOGO

Hi,

I believe it should be possible to remote-debug on an IOT device (in this case a RaspberryPi) from VScode (on windows 7).
But for some reason I can’t get this to work, and I can read in different posts that people have a lot of issues with remote debugging.
What I can’t figure out is if this is supposed to work directly via a pipeTransport to the RasspberryPi or if I have to install a gdb client locally on my windows PC including a complete WSL package?
My setup is as following:

  • I’m running Windows 7 Enterprise (due to other tools)
  • I have a Raspberrypi running stretch 9.3 with gdb and gdbserver installed
  • I use Git\Bash as the pibeProgram

Some general questions:

  1. Can I get this to work without any other components?
  2. Will it only work in Win10 with the Creators Update (Build 15063) as explained in some docs?
  3. If I’m stuck to Win7 do I have other alternatives (Cygwin, VMware) remotely?
  4. If I install VScode in Ubunto via VMware would it then work from the virtual machine in Ubunto?
  5. Any other ways to remote debug an IOT device from VScode?

BR
Morten

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions