- Visual Studio For Mac Debugger Panic
- Remote Debugger For Visual Studio
- Visual Studio For Mac Debuggers
Visual Studio for Mac Announcement: This forum has been migrated to provide our customers one convenient and responsive system for all feedback. You can now suggest new ideas, browse and vote on existing ideas in the Visual Studio Developer Community. In addition to this, we’ll be bringing our fine-tuned Unity debugger from the Visual Studio Tools for Unity to Visual Studio for Mac for a more reliable and faster Unity debugging experience. Help us shape Visual Studio 2019 for Mac!
Recording studio software review. I use Visual Studio Code IDE on a Mac, and the MAMP stack to develop a website with PHP.

I want to debug the PHP. Punch home & landscape design studio.
I saw this post about debugging PHP with the visual studio code extension: php-debug. Python development in visual studio.
I installed it in my visual studio code but I see that I need to download Xdebug for it to work.
I see on the Xdebug website that it has no download files for Mac OS X.
However, some PHPdebuggers for mac are Xdebug clients for mac. As shown here.
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.
1 Answer
Visual Studio For Mac Debugger Panic
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.
