A thermoplastic pipe having an inner wall and an outer wall that comprises (a) at least two layers of thermoplastic, wherein at least one of said two layers of thermoplastic forms said inner wall, and wherein the other of said at least two layers of thermoplastic forms said outer wall, and (b) at least one layer of textile reinforcement material present between said at least two layers of thermoplastic, wherein said textile reinforcement layer comprises at least two electrode yarns and at least one resistive yarn, wherein said resistive yarn is electrically connected between said at least two electrode yarns.