How to setup php-debug


#1

I don’t get how to setup up this package correctly. I have XAMPP along with Xdebug installed.

PHP 7.2.8 (cli) (built: Jul 18 2018 10:18:27) ( ZTS MSVC15 (Visual C++ 2017) x86 )
Copyright © 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright © 1998-2018 Zend Technologies
with Xdebug v2.6.1, Copyright © 2002-2018, by Derick Rethans

I installed php-debug and installed atom-debug-ui as well. I pasted the configuration from “Getting Started” : “Setting up Xdebug” in the php.ini. I changed the server in the Settings of php-debug to 127.0.0.1 from *
Now I should be able to debug right? But when I toggle some breakpoints and open PHP Debug by clicking on it in the left bottom corner I can’t do anything else than clicking Stop or Detach. If I press Alt+F5 (Php Debug: Run) nothing happens.

What am I doing wrong?


#2

I haven’t used the php-debug so don’t have any suggestions but if you haven’t already, you can see if someone reported something similar or you can open an issue to describe the problem you’re having on the project issue tracker: https://github.com/gwomacks/php-debug/issues.