Created
June 24, 2025 01:08
-
-
Save AARP41298/c5e7685b8af4d57cd2d3c9c9d4d5ee40 to your computer and use it in GitHub Desktop.
phpstorm debug tinker console plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'C:\Todo\repos\ceaNewBack\vendor\autoload.php'; | |
$app = require_once 'C:\Todo\repos\ceaNewBack\bootstrap\app.php'; | |
$app->make(Illuminate\Contracts\Console\Kernel::class)->bootstrap(); | |
//el plugin crea un archivo en AppData y se queda sin contexto del proyecto de laravel, hay que referenciarle el proyecto | |
#!/bin/sh | |
php -dxdebug.mode=debug -dxdebug.start_with_request=yes -dxdebug.client_port=9003 -dxdebug.client_host=127.0.0.1 -dxdebug.log=queue_xdebug.log "C:\Users\aarpfeb23\AppData\Roaming\JetBrains\PhpStorm2023.1\laravel-tinker\LaravelTinkerConsole.php" | |
#!/bin/sh | |
php -dxdebug.mode=debug -dxdebug.start_with_request=yes -dxdebug.client_port=9003 -dxdebug.client_host=127.0.0.1 -dxdebug.log=queue_xdebug.log "C:\Users\aarpfeb23\AppData\Roaming\JetBrains\PhpStorm2023.1\laravel-tinker\LaravelTinkerConsole.php" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment