To build strongSwan with debug symbols, do:
# apt-get build-dep strongswan # apt-get install devscripts # apt-get source strongswan # cd strongswan-4.3.2 # DEB_BUILD_OPTIONS=nostrip debuild
after installing it, you can invoke strongswan with
# ipsec start --attach-gdb
to attach the debugger.
To build strongSwan with debug symbols, do:
# apt-get build-dep strongswan OPTIONS= nostrip debuild
# apt-get install devscripts
# apt-get source strongswan
# cd strongswan-4.3.2
# DEB_BUILD_
after installing it, you can invoke strongswan with
# ipsec start --attach-gdb
to attach the debugger.