What's the voltage when you measure between D10 ground and your power supply ground? It should measure 12V when you aren't calling for hot end heat and near 0v when you are.
My money would be on a bad connection at a screw terminal, bad mosfet, or bad solder joint.
My money would be on a bad connection at a screw terminal, bad mosfet, or bad solder joint.