Describe the step-by-step process you would use to debug a performance bottleneck in a full-stack application.