Category: PHP

An important resource during a source code review is an environment to perform debugging, in this article, we will mention the installation and configuration of vscode a development environment widely used these days that has interesting features for debugging. After the installation is complete, we can start Visual Studio at Applications -> Common Applications -> Development -> Visual Studio Code or simply write the name of the program (code) in a terminal and press enter. Once Visual Studio Code is open, we go to the extensions and look for php-debug to install it.

Then we go to the root of the www directory and create a simple php file with the following code: Open a browser and go to http://localhost/info.php and copy the entire output (use Ctrl + a).

To configure vscode we first create a directory, give it the appropriate permissions and then create a .php file with the following code: In Visual Studio code, open the folder with the .php file.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners