which is how Debian generates the -debug packages [1].
[1] https://github.com/Debian/debhelper/blob/master/dh_strip