Last active
May 29, 2026 00:03
-
-
Save GitHub30/6fe199f90d95abe5404a93c62be39922 to your computer and use it in GitHub Desktop.
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
| rm /home/codespace/.php/current/bin/php | |
| hash -r | |
| sudo apt update | |
| sudo apt install php php-xdebug php-mbstring php-sqlite3 php-xml | |
| composer create-project laravel/laravel . | |
| git init | |
| git add . && git commit -m "コミットメッセージ" | |
| php -d xdebug.mode=trace -d xdebug.start_with_request=yes -d xdebug.trace_format=1 -d xdebug.trace_output_name=trace.%t.%p -d xdebug.output_dir=$PWD -S localhost:8000 -t public |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
xdebug.trace_format = 3とxdebug.trace_format = 4はxdebug 3.3以降出ないとxdebug.trace_format = 1になる
https://derickrethans.nl/flamboyant-flamegraphs.html