Open mitchdraft opened 5 years ago
Would be cool if there is a way squash can "auto config" the remote path or at least suggest it for you when there is an error configuring the breakpoints (for example.. if using the IDE and we try set the breakpoint and it shows up as unverified, then we can log an error and also say "did you set the remote path correctly" or even better "did you set the remote path correctly? maybe you could try /foo/bar/whatever" <-- that we discovered automatically?
You may not know the source path of the running container if someone else built it
there are some tricks I use for figuring out the remote path for
dlv
at least, using squashctl from the command line, when you make a breakpoint, dlv reports the full path to the function it findsTurn this into docs/utils