Software Quality Maturity Model & Technical Debt

How to measure your level of maturity in Software Quality? Are you of the stuff of the heroes? Does your management encourage good practices ? How to use Technical Debt for successful projects and better decision making?