Select “File” and then “Open Folder” in Visual Studio Code, then navigate to the folder containing your PHP code. To configure our debugging environment, select the Debug View from the left hand side and then click the Debug button.