OpenBSD Handbook

Current snapshot · amd64 · Generated 2026-09-09

p5-Apache-DB-0.18

interactive debugger for modperl

Back to search · Project homepage

Description

Apache::DB establishes the needed hooks to debug mod_perl code interactively. In order to use it, - add the following code to httpd.conf, after loading mod_perl.so <IfDefine PERLDB> <Perl> use Apache::DB (); Apache::DB->init; </Perl> <Location /> PerlFixupHandler Apache::DB </Location> </IfDefine> - start apache for a debugging session using a line like: httpd -X -DPERLDB -u Then any perl request will be intercepted by the debugger. Modules such as HTML::Mason have further hooks to get into the debugger at interesting points. This port also provides some sample configuration code that can start up the debugger or the profiler in a similar way (${PREFIX}/share/Apache/DB/perldb.conf)

Package information

Ports path
www/p5-Apache-DB
Package architecture
amd64
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
www, devel, perl5
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Runtime

Test

Installing and updating packages · Package details as JSON