[TIMOB-15841] Fixed debugging apps with and without sd cards.
[TIMOB-15841] Fixed a number of places where the profilerPort was incorrectly referenced.
Merge pull request #5092 from cb1kenobi/timob-15841_3_2_X

[TIMOB-15841] Fixed debugging apps with and without sd cards.