• 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

Symfony Error: "An exception has been thrown during the rendering of a template"

Laravel lang slug in url

Access relation of pivot table in Laravel

Laravel Unknown Column 'updated_at'

MySQL upgrade causing unexpected results on simple WHERE clauses

Laravel : How to Create Dropdown to Select FOREIGN KEY from Other Table?

array_key_exists(): The first argument should be either a string or an integer

Get WooCommerce product variation attribute terms in admin products general box

Cache clear probem in Larave

How can i call a function that executes an fpdf based on the choice of a form selector?

Passing a boolean value from checkbox in Laravel form

Remove product downloads section in woocommerce email notifications

HTML and PHP in one file

Is it possible to change the table name in the migration file-laravel

Reducing authentication calls on external API (Laravel 5.6)

About Contact Privacy policy Terms and conditions