• 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 to run or debug php on Visual Studio Code (VSCode)

using random function but it's displaying duplicates

woocommerce change position of price

How to fix Call to undefined method AppModelsTableName::factory?

How to get values inside <![CDATA[values]] > using php DOM?

CodeIgniter extend CI_URI undefined method

Spam Filter in Contact Form

PHP -> Next nearest date defined by array of days in week

Laravel print last executed SQL query with Query log

WAMP Virtual Host not working

How can I make this nested location configuration use the correct path to call a php program?

How to insert Google Adsense Code in PHP script?

Laravel/ PHP: Order By Alphabetical with numbers in order [duplicate]

Adding multiple items to WooCommerce cart at once

php retrieve specific data onclick from database in a list format

About Contact Privacy policy Terms and conditions