At a meta level in most companies it is important to not become the quick 'bug fixing' specialist. Don't be the developer product managers use/abuse to get around processes and fix what they want fixing today.
Work with your manager to plan your career path. 'I fixed a bug the other day' is good once a year as a bullet point on 'why you should get that promotion' nothing more. 'I built and led a team to fix long standing bugs' is more what you want to be doing.
I don't think I agree. In my experience, being the guy or gal that managers know they can turn to in order to quickly solve problems is a great way to get noticed and get involved in projects that normally you wouldn't be able to.
Work with your manager to plan your career path. 'I fixed a bug the other day' is good once a year as a bullet point on 'why you should get that promotion' nothing more. 'I built and led a team to fix long standing bugs' is more what you want to be doing.