Summary: We currently print //additional// libraries, but not the core libraries, which makes diagnosing include problems more difficult than necessary.
Test Plan: ran `arc derp --trace`, got libphutil/arcanist locations
Reviewers: btrahan
Reviewed By: btrahan
CC: aran
Differential Revision: https://secure.phabricator.com/D2929
$args = array_values($argv);
$working_directory = getcwd();
+$console = PhutilConsole::getConsole();
try {
+ if ($config_trace_mode) {
+ $phutil_location = phutil_get_library_root('phutil');
+ $arcanist_location = phutil_get_library_root('arcanist');
+ $console->writeErr("libphutil loaded from '{$phutil_location}'.\n");
+ $console->writeErr("arcanist loaded from '{$arcanist_location}'.\n");
+ }
+
if (!$args) {
throw new ArcanistUsageException("No command provided. Try 'arc help'.");
}