Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Koowa::isDebug check for debugging #534

Closed
ercanozkaya opened this issue Sep 8, 2021 · 4 comments · Fixed by #535
Closed

Use Koowa::isDebug check for debugging #534

ercanozkaya opened this issue Sep 8, 2021 · 4 comments · Fixed by #535
Assignees
Labels
Milestone

Comments

@ercanozkaya
Copy link
Member

ercanozkaya commented Sep 8, 2021

  • Add Koowa::isDebug and Koowa::setDebug methods
  • Use Koowa::isDebug instead of xdebug check so that we are sure that only we enable the full on debug experience on framework.

Support tickets

@ercanozkaya ercanozkaya added this to the 3.5 milestone Sep 8, 2021
@ercanozkaya ercanozkaya self-assigned this Sep 8, 2021
@johanjanssens johanjanssens linked a pull request Sep 8, 2021 that will close this issue
ercanozkaya added a commit to timble/kodekit that referenced this issue Sep 9, 2021
…ebug mode and correctly figure out suppressed errors on PHP8
@amazeika amazeika modified the milestones: 3.5, v3.5.7 Nov 15, 2021
@johanjanssens johanjanssens modified the milestones: 3.5, v3.5.7 Nov 15, 2021
@amazeika
Copy link
Member

amazeika commented Dec 7, 2021

@ercanozkaya Please review these 3 last changes I've made. This normally fixes the debugger and error handling issues we've discussed today on slack. This now works well on both Joomla 3 and 4.

amazeika added a commit that referenced this issue Dec 8, 2021
This was in for testing only
johanjanssens added a commit that referenced this issue Dec 10, 2021
johanjanssens added a commit that referenced this issue Dec 10, 2021
We are not using env variables anywhere else instead set the debug config option externally when instantiating
@johanjanssens
Copy link
Member

@amazeika Did review, and made two smaller changes myself for code that i introduced we don't need. Took it out again.

@johanjanssens johanjanssens changed the title Use KOOWA_DEBUG environment variable for debugging Use Koowa::isDebug check for debugging Dec 10, 2021
@johanjanssens
Copy link
Member

@ercanozkaya I have removed KOOWA_DEBUG, this change will need to be synced with Kodekit, some of the other changes @amazeika has made also need syncing.

johanjanssens added a commit that referenced this issue Dec 10, 2021
@johanjanssens
Copy link
Member

Reverted last change again, after discussion with Ercan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants