Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

LearningLaravelYai's avatar

Error: xDebug + Laravel + docker + jquery/ajax + vscode

I have a remote debugging session working perfectly nice with docker and xDebug.

xDebug: Except here, when the frontend sends a jQuery/ajax post request to laravel.

Problem: It stops at my breakpoint, but in a splitsecond after it stops... I have not seen this kind of behavior before.

My question: Does the laravel respond change state/timeout like javascript async..? or is it related to xdebug settings or what is going on here?

Anyone got an idea for this behavior?

Thanks :-)

See screenshot-gif here: https://imgur.com/a/b1PlIQY

Host: vscode v1.27.1 Php Debug v1.12.5 (vscode extension) osx version 10.13.6 high sierra Chrome v68.0.3440.106

docker: Laravel v5.6.35 PHP 7.2.9-1+ubuntu16.04.1 Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Xdebug v2.6.1, Copyright (c) 2002-2018, by Derick Rethans with Zend OPcache v7.2.9-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies Linux 2580879cb9ec 4.9.93-linuxkit-aufs

0 likes
0 replies

Please or to participate in this conversation.