xDebug couses 'Internal Server Error' when using breakpoint

Bug Summary

When using xDebug breakpoints on vs code, after a few seconds, the server stop working producing 500 Internal Server Error

Steps to reproduce

Use break point with xDebug and vs code. Wait about 10 seconds.

Environment Info

Window 11 machine.
Local Version 9.0.5+6706
PHP 7.4.30 (Also happens in 8.1.29)
Apache
WP 6.0.2

Logs attached
log.zip (907 Bytes)

Hi @doroness!

Does this happen with NGINX, or only Apache?

You also mentioned PHP 7.4 and 8.1 specifically. Does the issue present with any other PHP versions or only with those two?