[PR #2977] [MERGED] Added custom whoops-based debug view #6097

Closed
opened 2026-02-05 10:24:26 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/2977
Author: @ssddanbrown
Created: 10/14/2021
Status: Merged
Merged: 10/14/2021
Merged by: @ssddanbrown

Base: masterHead: custom_debug_view


📝 Commits (2)

  • 9b8bb49 Added custom whoops-based debug view
  • ffa4377 Added testing to cover debug view

📊 Changes

6 files changed (+263 additions, -279 deletions)

View changed files

app/Exceptions/WhoopsBookStackPrettyHandler.php (+48 -0)
📝 app/Providers/AppServiceProvider.php (+6 -0)
📝 composer.json (+1 -1)
📝 composer.lock (+8 -278)
resources/views/errors/debug.blade.php (+146 -0)
tests/DebugViewTest.php (+54 -0)

📄 Description

Provides a simple bookstack focused view that does not rely on JavaScript.
Contains links to BookStack specific resources in addition to commonly
desired debug details.

Todo

  • Add testing coverage

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BookStackApp/BookStack/pull/2977 **Author:** [@ssddanbrown](https://github.com/ssddanbrown) **Created:** 10/14/2021 **Status:** ✅ Merged **Merged:** 10/14/2021 **Merged by:** [@ssddanbrown](https://github.com/ssddanbrown) **Base:** `master` ← **Head:** `custom_debug_view` --- ### 📝 Commits (2) - [`9b8bb49`](https://github.com/BookStackApp/BookStack/commit/9b8bb49a33b0461e723ccb9a38091547e2273eaf) Added custom whoops-based debug view - [`ffa4377`](https://github.com/BookStackApp/BookStack/commit/ffa4377e65d8ea7342ea669f47a6d538d0c69194) Added testing to cover debug view ### 📊 Changes **6 files changed** (+263 additions, -279 deletions) <details> <summary>View changed files</summary> ➕ `app/Exceptions/WhoopsBookStackPrettyHandler.php` (+48 -0) 📝 `app/Providers/AppServiceProvider.php` (+6 -0) 📝 `composer.json` (+1 -1) 📝 `composer.lock` (+8 -278) ➕ `resources/views/errors/debug.blade.php` (+146 -0) ➕ `tests/DebugViewTest.php` (+54 -0) </details> ### 📄 Description Provides a simple bookstack focused view that does not rely on JavaScript. Contains links to BookStack specific resources in addition to commonly desired debug details. ### Todo - [x] Add testing coverage --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 10:24:26 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#6097