Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Console `dump()` and `dd()` not outputting items.

Đang mở
#42 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
laravel, php
Lĩnh vực
cli, devtools

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện dump() và dd() trong console khi dump-server đã dừng, đồng thời so sánh đầu ra với khi server đang chạy. Kiểm tra hành vi khi có và không có hyn/multi-tenant, rồi so sánh với issue #34 và issue multi-tenant được liên kết; được xem là hoàn thành khi tất cả các mục được dump đều xuất hiện lúc server không chạy.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I'm not sure if this is connected to #34, or not. I have noticed that when working from the command line and dumping or dd'ing, it is not outputting all items.

I have noticed this in conjunction with the hyn/multi-tenant package also being installed. It appears if I remove either this package or the multi-tenancy package, things return to working normally. I have posted an issue in their repo as well: https://github.com/hyn/multi-tenant/issues/713

However, I am having a hard time figuring out where the conflict is occurring. While diving through the code, nothing stands out, and also while triggering a manual exception after dumping, there doesn't appear to be any code run from the multi-tenant package.

Any thoughts as to what might be causing this, or where I might look further to try and debug this? Thank you!

Update: after further debugging, it appears this issue remains, even without hyn/multi-tenant installed. So perhaps my suspicion of a conflict with that package was premature.

Also, I wanted to clarify that this is the case when the dump-server is NOT running. Everything outputs fine when it is running.

Ngôn ngữ chính
PHP
Star
1.6k
Fork
90
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của beyondcode/laravel-dump-server

Tất cả issue của beyondcode/laravel-dump-server

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.