Skip to content

Instantly share code, notes, and snippets.

@carbontwelve
Last active June 24, 2021 06:10
Show Gist options
  • Save carbontwelve/9089985 to your computer and use it in GitHub Desktop.
Save carbontwelve/9089985 to your computer and use it in GitHub Desktop.
Running xdebug in the console, for debugging Laravel artisan commands. Useful as I keep forgetting this one...
# Running xdebug in the console, for debugging Laravel artisan commands. Useful as I keep forgetting this one...
php -dxdebug.remote_autostart artisan
#Running phpcs for 5.3:
phpcs -pv --standards= --runtime-set testVersion 5.3 --ignore=*/public/*,*.js,*.css,*/tests/*,*/views/training/* .
@fabianocruzdf
Copy link

Thanks @hfmikep!

@nrnazifi
Copy link

Do you know how can I set it for eclipse? After running the command, PHP debug is run in the Eclipse but does not come on Breakpoints!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment