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

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners