Closed Bug 961643 Opened 9 years ago Closed 7 years ago

[httpd] set the debug flag from the environment

Categories

(Firefox OS Graveyard :: Gaia::TestAgent, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: julienw, Assigned: julienw)

Details

Attachments

(1 file)

46 bytes, text/x-github-pull-request
rickychien
: review+
Details | Review
No description provided.
Attached file Github PR
Comment on attachment 8362424 [details] [review]
Github PR

Hey Ricky,

what do you think ?

This is a simple patch to display DEBUG output from httpd.js easily.

You can run:

DEBUG=* bin/gaia-test
DEBUG="bootstrap" bin/gaia-test
DEBUG="httpd" bin/gaia-test
DEBUG="httpd bootstrap" bin/gaia-test

This does not break profile generation because we forcefully set "DEBUG=1" in the command line in the gaia-test script.
Attachment #8362424 - Attachment description: WIP and untested pull request → Github PR
Attachment #8362424 - Flags: review?(rchien)
Comment on attachment 8362424 [details] [review]
Github PR

LGTM for this part although I'm not really familiar with httpd.
Attachment #8362424 - Flags: review?(rchien) → review+
master: 10b5bffb622c8c16cdfc9175852f51748acb6cd5
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.