• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

Xdebug in Laravel is not working with VSCode

phplaravelxdebugvscode-debugger


PHP Snippet 1:

zend_extension=xdebug.so
xdebug.mode = debug
xdebug.remote_autostart = 1

; This is correct option for xdebug 3!!!
; Don't use xdebug 2 option!!!!
xdebug.client_host = localhost
xdebug.client_port = 9003
xdebug.log = /tmp/xdebug_remote.log
xdebug.log_level = 7
xdebug.start_with_request = yes

PHP Snippet 2:

"version": "0.2.0",
    "configurations": [
        {
            "name": "Listen for Xdebug",
            "type": "php",
            "request": "launch",
            "port": 9003,
            "log": true
        },

Related Snippets

Using array_intersect on a multi-dimensional array

mysql slow on updates for a well optimized query

get attribute from class not working php 7

wp_remote_get() not passing authentication

How to debug in WooCommerce 3+

Laravel Get Days In Month From Month Number?

Create a zip file and download it

Encrypt in php and decrypt in Dart(flutter)

PHP Deprecated issue when running artisan command

file_put_content...fail to open stream:Permission denied in Laravel 5

Parsing JSON File to array in PHP

Warning: mysqli_stmt::bind_param(): Number of elements in type definition string doesn't match number of bind variables 11 [closed]

PHP: How to quickly split a key=value file into associative array

How to get an Array value inside an object in an array Php [duplicate]

What will the best solution for this multiple optional filter?

About Contact Privacy policy Terms and conditions