Inject environment profile variables into debug process environment.

Authored by Kebianizao on Aug 16 2018, 12:16 PM.

Description

Inject environment profile variables into debug process environment.

Summary:
Extends DebugJob and DebugSession classes including launch configuration environment variables.

The approach taken is getting the environment profile name within the debug process, storing it in the debug job and injecting the environment variables in the debuggee just before it is launched

BUG: 322477

Reviewers: KDevelop, brauch

Reviewed By: KDevelop, brauch

Subscribers: brauch, kdevelop-devel, apol, vkorneev

Tags: KDevelop

Differential Revision: https://phabricator.kde.org/D14870