I am working on WSL2 with PhpStorm, Docker and Xdebug 3.
My line breakpoints are working fine but exception breakpoints don't trigger any break. I have no idea why this fails.
Is any additional configuration required compared to line breakpoints?
I am working on WSL2 with PhpStorm, Docker and Xdebug 3.
My line breakpoints are working fine but exception breakpoints don't trigger any break. I have no idea why this fails.
Is any additional configuration required compared to line breakpoints?
The only exception breakpoint that you have set up here, is the one for Notice
, and not for anything else.
If you want to break on all exceptions, use *
instead of Notice
as value, or otherwise a class or interface name of the top level exception that you want to catch.