Debug PHP visually with Code Maps
Important! You to have Visual Studio Enterprise for Code Maps to work.
Important! You to have Visual Studio Enterprise for Code Maps to work.
Introducing PHP Tools for Visual Studio, version 1.57! This update brings the new Object ID support in debugger, Project Events, improvements to Remote Explorer and corresponding remote profiles, and improves overall stability and existing features.
The objects sometimes misbehave. You watch them closely when your are debugging and they behave as they should - they know you are watching. You are stepping through the code, sinking deeper into the methods. When you surface back and see your old objects again, they are different, their properties have changed. Something happened to them behind your back.
Let's take a look on the new updates in PHP Tools and Visual Studio. The PHP editor provides more navigation features, debugger works smarter with breakpoints, and the overall stability and performance has been improved.
The latest update to PHP Tools for Visual Studio improves and fixes overall functionality, and updates the PHP 8.1 support. Read more for the details!
Two developers and one server. They both want to debug php code there. And now what?
Tool-tips are a common feature of modern code editors and IDEs. They display available information about a symbol under the mouse cursor, and during the code completion. Check out, what you can do with tool-tips in a PHP language in Visual Studio.
In PHP there are two ways how unexpected state of the program are handled. First one is the traditional procedural approach - errors, which also includes notices and warnings.
Very often a PHP project consists of several separately hosted applications, such as a public website and some API. In case developer wants to run and debug his set of applications locally, there is a very useful feature in VS Code called compound launch.