--no-strip prevents deletion of debugging information in the stack assembly.
In the documentation:
stack now supports debugging and profiling with DWARF information, using the -no-strip, -no-library-stripping and --no-executable-stripping flags to disable the default behavior to remove such information from compiled libraries and executables.
source share