• 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

Xdebug is not launched in WSL2 in a docker CakePHP 3 application

php curl_exec() Connection refused when retrieving a remote image

Having issue with matching rows in the database using PDO

Cannot connect to own websocket server when on secured domain

Star and Half Star Rating in Laravel

Move a child array to parent array and change parent/child name

Add customer email and phone in "Order" column to admin orders list on Woocommerce

Clear javascript source cache laravel 5.8

Popup Window and PHP form

Applying programmatically a coupon to an Order in WooCommerce3

How to convert time from one timezone to another in PHP

How to load Codeigniter 4 lang file into an array variable

PHP contact form configuration [duplicate]

PHP: set a (deep) array key from an array [closed]

Installing Composer - Internal Error

About Contact Privacy policy Terms and conditions