• 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

How do I refresh a DIV content?

JSON Render Issue in Date Object Laravel and PHP 7.4

How to MODIFY a Google Docs document via API using search-and-replace?

MISSING UPDATES FOR: MEDIA Drupal 9

How to get company posts from LinkedIn via API?

image source not readable

I want to use codeigniter foreign character library in my custom PHP project how i can use it?

file_get_contents() without "Http" to access external URL [closed]

WAMP/Wordpress - cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received

Encrypt in php and decrypt in Dart(flutter)

How to convert binary string to normal string in php

Get sum of arrays inside array

Laravel Displaying image from database

Too few arguments to function PendingResourceRegistration::name(),1 passed in C:xampphtdocsproject outesweb.php on line 18 and exactly 2 expected

PHP rotate matrix counter-clockwise

About Contact Privacy policy Terms and conditions