When estimating (story points) a story that consists on extending a current functionality with a known tech-debt, should we consider the effort that will be spent to refactor the current code or should we estimate independently of this tech-debt?
Question moved to link
I'd vote for estimating with the tech debt. The refactoring won't be free, so to neglect that cost is misleading to yourself and your customer.