• 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

Issue with laravel eloquent model property

Elasticsearch - Want to sort by field in all indices where that particular field available or not if not then avoid it

Results page in other window

Unable to run composer install

How to get Laravel's CSRF Token from Another Website?

Cannot retrieve error message using Symfony HttpClient if the response is not "ok"

Laravel lang slug in url

Yii2 redirecting to previous page after login

IlluminateDatabaseQueryException could not find driver [duplicate]

sort() not affecting original array while inside foreach loop

How to check user Permissions using Custom Middleware in Laravel

Laravel 8 factory state afterCreating

java URL working on browser but not in client program

How can I make good efficent AJAX live forms with just jQuery and

Target class controller does not exist - Laravel 8

About Contact Privacy policy Terms and conditions