ツイート ブックマーク Docker composeでそれっぽい環境を用意して、xdebug動かしてみたよって話です。 docker-composeの定義 こんな感じです。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 version: "3" volumes: db-store: services: db: image: postgres:11 volumes: - db-store:/var/lib/postgresql/data environment: POSTGRES_USER: root POSTGRES_PASSWORD: root POSTGRES_INITDB_ARGS: "--encoding=UTF-8"
An upgrade guide detailing which changes there are between Xdebug 2 and 3, and how to reconfigure your set-up to do similar things. New Concepts # Unlike Xdebug 2, where there was an enabling setting for each feature, with Xdebug 3 you put Xdebug into a specific mode, which can be configured with the xdebug.mode setting. This setting, in combination with xdebug.start_with_request is the new way to
・ヮ・)あ、おはようございまーす みなさん Xdebug 使ってますか? ステップ実行便利ですよね! つい先日 PHP8 で開発環境を作っていたらエラーがでました Xdebug: [Config] The setting 'xdebug.xxx' has been renamed, see the upgrading guide at Xdebugさんバージョン3になったんですね(知らなかった 2 から 3 に バージョンアップするにあたって 設定方法がいくつか 変わったらしく エラーになってました Upgrading from Xdebug 2 to 3 自分の環境はドキュメント読みつつ新しい設定に直したのですが 同僚やお友達から「設定を手伝っておくれ」と何回か言われて いちいち調べ直すのが面倒になり変換ツールを作りました ↑ここから飛べます 注意事項 やっつけで雑に作ってしっかりテスト
You are running composer with xdebug enabled. This has a major impact on runtime performance.対策PHPxdebugComposer 新しい記事「必要な時にのみxdebugをオン」を投稿しました(2017/05/19) Composer 1.3.0 - https://github.com/composer/composer/blob/1.3.0/CHANGELOG.md Fixed ext-xdebug not being require-able anymore due to automatic xdebug disabling 自動で無効化されるようになったので、ユーザー側のワークアラウンドはもはや不要になったようです。 以上はコメント欄で@tadsanさんが教えてくれた内容です。 compo
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く