Fix infinite recursion in default strip debug command
Description
We should not provide a default strip debug command. However this is mainly to be backported to 1.2 to fix. Until we have decided and fixed the command in master, we should apply the fix in master too.
This merge request, when approved, will close: Fixes #645 (closed)