Pulsar emission amplified and resolved by plasma lensing in an eclipsing binary