Skip to content

Commit

Permalink
Load the debug service configuration
Browse files Browse the repository at this point in the history
Co-authored-by: Sébastien Julliand <[email protected]>
  • Loading branch information
SanjulaGanepola and sebjulliand authored Jul 13, 2024
1 parent 7f1aee4 commit 7934830
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/views/helpView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,9 @@ async function downloadLogs() {
});
}

const debugConfig = await new DebugConfiguration().load();
try {
const debugServiceLogPath = '/QIBM/UserData/IBMIDEBUGSERVICE/DebugService_log.txt';
const debugServiceLogPath = `${debugConfig.getRemoteServiceWorkDir()}/DebugService_log.txt`;
const debugServiceLog = (await content.downloadStreamfileRaw(debugServiceLogPath));
if (debugServiceLog) {
logs.push({
Expand All @@ -165,7 +166,7 @@ async function downloadLogs() {
} catch (err) { }

try {
const debugServiceEclipseInstancePath = '/QIBM/UserData/IBMIDEBUGSERVICE/startDebugService_workspace/.metadata/.log';
const debugServiceEclipseInstancePath = `${debugConfig.getRemoteServiceWorkDir()}/startDebugService_workspace/.metadata/.log`;
const debugServiceEclipseInstanceLog = (await content.downloadStreamfileRaw(debugServiceEclipseInstancePath));
if (debugServiceEclipseInstanceLog) {
logs.push({
Expand Down

0 comments on commit 7934830

Please sign in to comment.