From 37bc6704cf48bc8e41d9a01f99870ed13ba2ae12 Mon Sep 17 00:00:00 2001 From: worksofliam Date: Fri, 19 Apr 2024 10:57:03 -0400 Subject: [PATCH 1/2] Correct testing path Signed-off-by: worksofliam --- src/api/debug/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/debug/server.ts b/src/api/debug/server.ts index e0d026baf..8a080fffa 100644 --- a/src/api/debug/server.ts +++ b/src/api/debug/server.ts @@ -53,7 +53,7 @@ export async function getDebugServiceDetails(): Promise { }; const detailFilePath = path.posix.join(directory, detailFile); - const detailExists = await content.testStreamFile(detailFile, "r"); + const detailExists = await content.testStreamFile(detailFilePath, "r"); if (detailExists) { try { const fileContents = (await content.downloadStreamfileRaw(detailFilePath)).toString("utf-8"); From e1f4326b206bc866136df1ef17d21e8146335fac Mon Sep 17 00:00:00 2001 From: worksofliam Date: Fri, 19 Apr 2024 10:57:15 -0400 Subject: [PATCH 2/2] Allow batch to be started from active editor Signed-off-by: worksofliam --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index be34a9618..e1b4c3277 100644 --- a/package.json +++ b/package.json @@ -1813,7 +1813,7 @@ "code-for-ibmi.debug.group": [ { "command": "code-for-ibmi.debug.batch", - "when": "code-for-ibmi:debug && viewItem =~ /^object.pgm.*/" + "when": "code-for-ibmi:debug && (viewItem =~ /^object.pgm.*/ || editorFocus)" }, { "command": "code-for-ibmi.debug.sep",