# xDebug couses 'Internal Server Error' when using breakpoint

**URL:** <https://community.localwp.com/t/xdebug-couses-internal-server-error-when-using-breakpoint/44658>\
**Category:** Bugs\
**Tags:** xdebug\
**Created:** [September 22, 2024, 2:51pm UTC](https://community.localwp.com/t/xdebug-couses-internal-server-error-when-using-breakpoint/44658 "2024-09-22T14:51:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![doroness](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/doroness/32/2293_2.png) [@doroness](https://community.localwp.com/u/doroness)\
**Post date:** [September 22, 2024, 2:51pm UTC](https://community.localwp.com/t/xdebug-couses-internal-server-error-when-using-breakpoint/44658/1 "2024-09-22T14:51:01Z")

</div>

# 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](https://community.localwp.com/uploads/short-url/xHkKYnMaUz4uhJtMRKLWDAEDV46.zip) (907 Bytes)

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [September 24, 2024, 1:54pm UTC](https://community.localwp.com/t/xdebug-couses-internal-server-error-when-using-breakpoint/44658/2 "2024-09-24T13:54:55Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [September 22, 2026, 2:51pm UTC](https://community.localwp.com/t/xdebug-couses-internal-server-error-when-using-breakpoint/44658/3 "2026-09-22T14:51:24Z")

</div>

This topic was automatically closed after 730 days. New replies are no longer allowed.
