Remote Debugging should work only on debug mode
Description
Environment
Activity
Walt Miner July 30, 2019 at 9:38 PM
Close for HH 8.0.0 release

Antia Puentes July 15, 2019 at 6:58 AM
The gerrit changes to bump the revision and add the AGL_DEVEL flag were merged. Marking the issue as fixed.

Antia Puentes July 13, 2019 at 10:44 AM
Pull request accepted. Created in gerrit:
https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-devel/+/21876
https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-devel/+/21877

Antia Puentes June 21, 2019 at 6:21 PM
Pull request containing the fix: https://github.com/webosose/wam/pull/21
It requires to update the wam recipe. Patch available here: https://github.com/Igalia/meta-agl-devel/commit/dc33ec166903591977daca4a61a051dcd6fd6473
It will be submitted to gerrit, adding the corresponding update to the SRCREV, once the WAM pull request is accepted.

Antia Puentes June 21, 2019 at 11:35 AM
In meta-agl/templates/feature/agl-devel/agl-devel.md there is information about how to use agl-devel in conditional builds. Copying it here for future reference:
How to use agl-devel in conditional builds
The following example shows how to activate C/C++ code
specific to agl-devel:
```yocto
CPPFLAGS_append_agl-devel = " -DAGL_DEVEL"
```
Using this, any code enclosed in
```yocto
#ifdef AGL_DEVEL
...my code specific to agl-devel...
#endif
```
will normaly be effective only if agl-devel is set on.
At this time, it is recommended to use AGL_DEVEL as tag
within C/C++ code.
Details
Details
Assignee

Reporter

Chromium has Remote Web Inspector for debugging web and it should work only on debug mode, not production mode.
AGL has a debug mode with agl-devel and we can connect it with the debugging tool(Remote Web Inspector) from chromium.