• 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

wp_remote_get() not passing authentication

Wordpress wpdb->delete issue

How to get array values using foreach in laravel

Laravel 8 Multiple Relationships for Factory

How do I remove this delivery notification from here?

Shortcode or PHP inside a shortcode in Wordpress

Laravel 4 Redirect::back() not going to previous page (refreshing current page)

Artisan, creating tables in database

CONCAT columns with Laravel 5 eloquent

PHP Form Not Inserting

Show rotation of tweets using current day of month

Laravel multi auth - Authentication user provider [] is not defined

Send same name multiple checkbox values via ajax

html-php form submission after validation through JavaScript [closed]

how to fix Service provider class not found when using repository?

About Contact Privacy policy Terms and conditions