[Git][slirp/libslirp][master] Mention how to get debugging prints

Samuel Thibault (@sthibaul) gitlab at gitlab.freedesktop.org
Fri Jun 6 11:14:23 UTC 2025



Samuel Thibault pushed to branch master at slirp / libslirp


Commits:
5e171598 by Samuel Thibault at 2025-06-06T13:14:15+02:00
Mention how to get debugging prints

- - - - -


1 changed file:

- README.md


Changes:

=====================================
README.md
=====================================
@@ -45,6 +45,18 @@ running CI etc.
 Alternatively, you may send patches to slirp at lists.freedesktop.org
 mailing list.
 
+## Debugging
+
+To make slirp emit debugging prints, one can use for instance:
+
+```
+export G_MESSAGES_DEBUG=Slirp
+export SLIRP_DEBUG=call
+```
+
+`SLIRP_DEBUG` can contain a colons/spaces/commas-separated list of `call`,
+`misc`, `error`, `tftp`, `verbose_call`
+
 ## Versioning
 
 We intend to use [libtool's



View it on GitLab: https://gitlab.freedesktop.org/slirp/libslirp/-/commit/5e171598422f816555bee331f18a6adbe1291b1a

-- 
View it on GitLab: https://gitlab.freedesktop.org/slirp/libslirp/-/commit/5e171598422f816555bee331f18a6adbe1291b1a
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/slirp/attachments/20250606/673abf01/attachment-0001.htm>


More information about the Slirp mailing list