Debug Panel actions with Xdebug

I have create a hook which is executed upon saving a page (page.update:after).

When I try to debug what’s going on with Xdebug by setting breakpoints within the according function, when I save the page in question, the execution does not stop at the breakpoint.

Xdedug works well when I try the same in the frontend.

Is Xdebug supposed to work within panel functions or do I need a different setup?

Xdebug should also work for PHP scripts triggered via the Panel.