snapd debug without systemd activation

Boris Rybalkin ribalkin at gmail.com
Mon Dec 5 09:30:36 UTC 2016


John,

I am new to go language (coming from Java world) I want to debug with
breakpoints from IDE (and I was able aftet adding socket creation code).

Maybe I should run it with systemd and then attach to it from IDE?

On 5 Dec 2016 09:23, "John Lenton" <john.lenton at canonical.com> wrote:

On 5 December 2016 at 08:58, Boris Rybalkin <ribalkin at gmail.com> wrote:
>
> Is it possible to run snapd for debugging without systemd socket
activation?

depends on what you mean. At the end of HACKING.md in the root of the
project there are instructions for how to run snapd by hand, using
systemd-activate:

https://github.com/snapcore/snapd/blob/master/HACKING.md#testing-snapd

Is that what you're looking for?

--
Snapcraft mailing list
Snapcraft at lists.snapcraft.io
Modify settings or unsubscribe at: https://lists.ubuntu.com/
mailman/listinfo/snapcraft
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161205/1a5a5d76/attachment.html>


More information about the Snapcraft mailing list