These IDEs include PHPStorm, Sublime Text, Zend Studio, Nusphere, PHPED, PHP Designer and Cloud 9, to name a few. If your idea is to simply play around with PHP coding without setting up your system. There is at least one great PHP ide for Linux and PHP ide Mac and PHP ide for Windows for sure. I'm using Zend Studio.It has decent syntax highlighting, code completion and such. But the best part is that you can debug PHP code, either with a standalone PHP interpreter, or even on a live web server as you 'browse' along your pages.
| |||||
Select Product » PHP Studio — Perl Studio |
![Php Php](/uploads/1/2/6/2/126256535/601986048.png)
| |
| |
Latest News: PHP Studio v3.0.2 and Perl Studio v2.6.2 are released. |
Visual Studio For Mac
Copyright © 2011-2016 Cayoren Software and Information Technologies Ltd. Sti. All Rights Reserved. | Privacy Policy :: Site Map |
Active3 years, 4 months ago
I use Visual Studio Code IDE on a Mac, and the MAMP stack to develop a website with PHP. Logo design studio for mac.
I want to debug the PHP.
I saw this post about debugging PHP with the visual studio code extension: php-debug.
I installed it in my visual studio code but I see that I need to download Xdebug for it to work. https://couponsupernal815.weebly.com/configure-launchjson-visual-studio-code-for-mac-c.html.
https://couponsupernal815.weebly.com/itube-studio-for-mac-review.html. I see on the Xdebug website that it has no download files for Mac OS X.
![Download fl studio for mac Download fl studio for mac](/uploads/1/2/6/2/126256535/746468802.jpg)
However, some PHPdebuggers for mac are Xdebug clients for mac. As shown here.
Php Visual Studio For Mac
Does this mean that I can somehow download Xdebug for mac OS X so that my Visual Studio Code php-debug extension works?
If so how?
If not, what is my next best option? - Can I use Visual Studio Code IDE to develop with and a completely separate tool to debug PHP with? In that workflow, would I be just running the site in the browser and the third party tool stops on the breakpoints?
I downloaded codebug for mac, and opened my project in it, and put break points on the code, then ran my website locally. The code did not stop on the break points. What was I missing?
Thanks.
Community♦
BeniaminoBagginsBeniaminoBaggins3,4231616 gold badges6666 silver badges153153 bronze badges
1 Answer
The route I took is upgrading to MAMP PRO. It may be possible to do it with MAMP (non-pro) if you do a bit more setup work for Xdebug.
Upgraded to MAMP PRO and adapted this tutorial for Visual Studio Code. In Visual Studio Code install php-debug, and in MAMP PRO under the PHP tab check the checkbox to debug with Xdebug. Then in Visual Studio Code in the debug view, click the gear icon and choose PHP. This creates a launch.json file. Save the file without changing any defaults, unless you know your xdebug is on a different port. Then just press the play button in the debugger in Visual Studio Code, enter in some breakpoints into the PHP code, and browse to the website. The debugger should stop the execution on the breakpoints.
BeniaminoBagginsGopro Studio For Mac
BeniaminoBagginsObs Studio For Mac
3,4231616 gold badges6666 silver badges153153 bronze badges
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.