support `goroutine?debug=2` to aggregate stacktraces