• 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

Can I use a WooCommerce function without any WooCommerce page?

Laravel database insert with combining array and string

Laravel Get Days In Month From Month Number?

Laravel implode array items to new lines

PHPMetrics option --excluded-dirs="myfolder" : myfolder dir is not excluded within docker

Laravel 5.1 Unknown database type enum requested

Convert regular text to array using notepad++

Failed user login on production server using Symfony framework (Authentication request could not be processed due to...)

woocommerce get_order_report_data to show order_item_id

Insert database rows from columns of data from associative array of indexed arrays

Create a zip file and download it

Laravel - Browser displays message again when I press back button

How do I Post to .txt document before form submits

PHP - installing Xdebug on Mac with XAMPP (Unix File)

Reorder attribute dropdown terms in Woocommerce single variable products

About Contact Privacy policy Terms and conditions