Skip to content

Commit

Permalink
0.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ilan committed Jun 28, 2023
1 parent aabdad8 commit 3cbfbc9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Change Log

# Unreleased
# [0.6.2] (2023-06-28)
- Fixed an issue with debugging integrations and scripts with `Docker`.

# [0.6.1] (2023-06-22)
- Set `python.analysis.typeCheckingMode` to `basic` In Content and Demisto-SDK VSCode settings.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "xsoar",
"displayName": "Cortex XSOAR",
"description": "Build, Format, and Validate Cortex XSOAR with ease.",
"version": "0.6.1",
"version": "0.6.2",
"engines": {
"vscode": "^1.54.0"
},
Expand Down
11 changes: 6 additions & 5 deletions src/devEnvs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -549,11 +549,12 @@ async function createLaunchJson(
);
launchJson = JSON5.parse(fs.readFileSync(launchJsonPath, "utf-8"));
const program = path.join(cwd, filePath.name.concat(".py"));
launchJson.configurations[0].program = program;
launchJson.configurations[0].cwd = cwd;
launchJson.configurations[0].name = `Python: Debug (${filePath.name})`;
launchJson.configurations[1].name = `Docker: Debug (${filePath.name})`;
launchJson.configurations[2].name = `Docker: Debug tests (${filePath.name})`;
// The order matters here!
launchJson.configurations[0].name = `Docker: Debug (${filePath.name})`;
launchJson.configurations[1].name = `Docker: Debug tests (${filePath.name})`;
launchJson.configurations[2].name = `Python: Debug locally (${filePath.name})`;
launchJson.configurations[2].program = program;
launchJson.configurations[2].cwd = cwd;
}
const launchJsonOutput = path.join(vsCodePath, "launch.json");
if (!(await fs.pathExists(vsCodePath))) {
Expand Down

0 comments on commit 3cbfbc9

Please sign in to comment.