crosswalk-project/crosswalk — pull request #2339 by iKevinHan (2014-08-22 04:52:57+00:00)
Title: [Tizen] Add an option for "xwalk-launcher" to enalbe remote debugging only for single applictaion

Usage: xwalk-launcher -d APP_ID

If the remote-debugging-mode of xwalk service is opened by command
"xwalkctl -d DEBUGGING_PORT" or in "/usr/lib/systemd/user/xwalk.service",
the application launched with "-d" will be debuggable, and other applications
are still kept un-debuggable.

Explanation of code:
When launching application, the "debuggable" status is recorded in "Runtime", and in the "XWalkDevToolsDelegate::EnumerateTargets" we can get it to decide if put the corespondent target in the list of "discovery page" of devtools.

BUG=https://crosswalk-project.org/jira/browse/XWALK-2058