GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — refactor: remove all checks for debug mode by carlos-granados · Pull Request #53 · php-debugger/php-debugger

Conversation

@carlos-granados

@carlos-granados carlos-granados commented Apr 15, 2026

Copy link
Copy Markdown
Collaborator

Since we don't have any mode other than debug, we can remove all cases where we were checking if the mode was debug. The only other possible mode is off and all these places will not be called when the mode is off

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@carlos-granados
carlos-granados requested a review from pronskiy April 15, 2026 17:08
@carlos-granados
carlos-granados force-pushed the refactor/remove-debug-mode-checks branch from 9d90492 to c7d54c0 Compare April 18, 2026 06:51
pronskiy
pronskiy approved these changes Apr 19, 2026
View reviewed changes
@pronskiy
pronskiy self-requested a review April 19, 2026 17:22
pronskiy
pronskiy requested changes Apr 19, 2026
View reviewed changes

@pronskiy pronskiy left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests are failing so far?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@carlos-granados
carlos-granados force-pushed the refactor/remove-debug-mode-checks branch from c7d54c0 to b6e3568 Compare April 19, 2026 19:35
@carlos-granados
refactor: remove all checks for debug mode
078859c
@carlos-granados
carlos-granados force-pushed the refactor/remove-debug-mode-checks branch from b6e3568 to 078859c Compare April 19, 2026 19:47
@pronskiy
pronskiy self-requested a review April 19, 2026 20:05
pronskiy
pronskiy approved these changes Apr 19, 2026
View reviewed changes
@carlos-granados
carlos-granados merged commit 54f71f3 into php-debugger:main Apr 19, 2026
14 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@carlos-granados
carlos-granados deleted the refactor/remove-debug-mode-checks branch April 19, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@pronskiy pronskiy pronskiy approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@carlos-granados @pronskiy
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.