Global USE flag

Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see

Packages describing “debug” as local USE flag

Package “debug” Flag Description
app-arch/innoextract Enable debug logging and the --debug command-line option.
app-cdr/dvdisaster Enable memory debugging.
app-editors/nano Enable debug messages and assert warnings. Note that these will all be sent straight to stderr rather than some logging facility.
app-misc/rlwrap Enable debug
app-portage/eix Build with upstream's CXXFLAGS/LDFLAGS for debugging support; not recommended for normal use.
dev-db/haildb Enable extra debug codepaths and assertions. If disabled, both the debug code and assertions are removed from the resulting binaries. Optimisations are untouched.
dev-java/jfreesvg Enable debugging during compilation.
dev-lang/crystal Build each module as a separate object file. Speeds build up.
dev-lang/spidermonkey Enable assertions to allow for easier debugging of programs that link to spidermonkey -- note this will often crash software on regular end-user systems
dev-libs/actor-framework Raises log-level to DEBUG, enables runtime checks and address sanitizer
dev-libs/boost Build and install only the debug version of the Boost libraries. Only enable this flag if you're developing against boost.
dev-libs/libevent Support runtime debug mode and malloc hooks (for programmers)
dev-libs/openct Add debug output to the driver library for pcsc-lite.
dev-perl/perl-headers Add source locations in generated .ph files to assist with debugging when errors occur
dev-scheme/bigloo Enable extra debug codepaths
dev-scheme/hop Enables building with debug symbols
dev-tcltk/expect-lite pull in packages needed for runtime interactive debugger
dev-util/google-perftools Build a set of libraries with debug support (so-called debugalloc). These are available by default but are not needed unless you're actually developing using tcmalloc.
games-emulation/zsnes Enable the builtin debugger
games-rpg/arx-libertatis Enable asserts and debug logging.
mail-filter/dspam Enable debugging support (don't enable this unless something needs testing!)
mail-filter/zdkimfilter Log process and signal information. Also leave the child process running for gdb examination.
media-tv/mythtv Instructs Qt to use the 'debug' target instead of 'release' target. If your MythTV is crashing or you need a backtrace, you need to compile it with this option otherwise the debugging data is useless.
net-mail/vchkuser Enables debug messages to syslog
net-misc/ptpd Enable debugging informations
net-misc/stargazer Enable extra debug codepaths, like asserts and extra output.
net-misc/wireguard Enable verbose debug reporting in dmesg of various WireGuard peer and device information.
net-vpn/wireguard Enable verbose debug reporting in dmesg of various WireGuard peer and device information.
net-wireless/spectools Build the raw output client for spectools. (for developers)
sys-apps/timer_entropyd Enable printf debugging and logging to the syslog at DEBUG level
sys-auth/pam_u2f Enable debug messages using the pam logging macros. (Note: these will be visible on stdout for terminal logins).
sys-auth/pambase Enable debug information logging on syslog(3) for all the modules supporting this in the system authentication and system login stacks.
sys-block/parted Enable debugging as encouraged by upstream: [The default configuration] includes --enable-debug (by default), which contains many assertions. Obviously, these "waste" space, but in the past, they have caught potentially dangerous bugs before they would have done damage, so we think it's worth it. Also, it means we get more bug reports ;)
sys-fs/aufs3 Enable additional debugging support
sys-fs/aufs4 Enable additional debugging support
sys-kernel/dracut Module installing additional tools like strace, file editor, ssh and more
sys-libs/glibc When USE=hardened, allow fortify/stack violations to dump core (SIGABRT) and not kill self (SIGKILL)
sys-process/fcron Enable debug code and output. Since version 3.0.5 this will no longer force foreground execution, and fcron will be able to run as a service properly.
www-servers/monkeyd Enable lots of debugging info

All packages providing a “debug” USE flag (1966)