XDebug with Atom gets stuck

I'm trying to debug a Symfony 3 application with XDebug and Atom, I have installed the Atom plugin (php-debug) and the php-xdebug package in my Debian OS.

I added the lines

zend_extension=xdebug.so

xdebug.remote_enable=1

xdebug.remote_host=127.0.0.1

xdebug.remote_connect_back=1 # Not safe for production servers

xdebug.remote_port=9000

xdebug.remote_handler=dbgp

xdebug.remote_mode=req

xdebug.remote_autostart=true

to the /etc/php/7.0/mods-available/xdebug.ini file and restarted the service but when I start the debugger and connect to the default host and port (127.0.0.1:9000) the debugger changes from Listening... to Connected but the page gets stuck and doesn't load without reaching any breakpoint.

Could anyone tell me what am I doing wrong?

链接地址: http://www.djcxy.com/p/65658.html

上一篇: Netbeans Xdebug Windows 10正在等待连接

下一篇: 与Atom的XDebug卡住了