Canal Defence Light
en.wikipedia.org
en.wikipedia.org
https://en.wikipedia.org/wiki/Hobart's_Funnies
The Soviets also used searchlights to dazzle enemies during attacks - particularly that attack on Seelow Heights:
https://en.wikipedia.org/wiki/Archimedes#Heat_ray
Putting his heritage to good use it seems :)
Though I'm sure the enemy would have eventually found some welding glass or even oil-smeared glass
You don't exactly carry either for an amphibious assault. And once beaten back, there likely wouldn't be a second attempt.
And without night vision gear (prototypes were only available by 1945), the only options are flares (which would aid attackers as much as defenders), or search lights (which are much harder to destroy this way).
Names are important.
"There was brief interest in resurrecting a CDL on M4 Sherman design (T52) that had started in 1944 but it was recognized that four battalions could be fitted with normal searchlights for the cost of a single CDL tank."
Which sounds like a good lesson in right-sizing a task.