• 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

Passing a boolean value from checkbox in Laravel form

Message: Set sys_temp_dir in your php.ini after installed composer

php: command not found Command PhaseScriptExecution failed with a nonzero exit code

Laravel Command Schedule Not Working Properly

Losing session data after POST from third party website

Show rotation of tweets using current day of month

WooCommerce: Add/display Product or Variation custom field everywhere

Entity provider not working in security.yml php symfony3.4 ({"code":401,"message":"bad credentials"}.)

Laravel Displaying image from database

How to add a heading in between checkout fields of WooCommerce

Mysqli Output to a table

Class AppHttpControllersUserController Does Not Exist

Laravel after login Two factor not working

SMTP ERROR: MAIL FROM command failed: 530 5.7.0 Must issue a STARTTLS command first when using PHPMailer

Using array_intersect on a multi-dimensional array

About Contact Privacy policy Terms and conditions