Increase stack trace limit in the debug mode.