• 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

PHP Download MP3 files from directory on server

How to reset Laravel AuthManager/guards in between API calls in tests?

Display specific shipping method if woocommerce product has specific acf field value

Laravel You requested 1 items, but there are only 0 items available

Valet, Xdebug after reboot Big Sur not working

PHP Print to Network Printer

Laravel Delete and Update

MySQL/PHP - Web Based Game -User specific inventory table or 1 giant table? Another option?

Set quantity minimum, maximum and step at product level in Woocommerce

browsersync doesn't work with XAMPP

Laravel Collections. Is there some kind of assertStructure method?

WooCommerce Subscriptions: Remove role on cancelled subscription

oauth-private.key does not exist or is not readable

Find out the name of the last script that included the current one

Could not decode a text frame as UTF-8.

About Contact Privacy policy Terms and conditions