Skip to content

Commit

Permalink
fix: make sure to pass the aws profile to IDE debug settings (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlsim0n authored Aug 21, 2023
1 parent dca517a commit 992ef8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/local/local.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ async function setupDebug(cmd) {
const selectedFunctionsText = selectedFunctions.length === functionNames.length ? "all functions" : selectedFunctions.join(",");
name = await inputUtil.text("Enter a name for the configuration", "Debug " + selectedFunctionsText);
selectedFunctionsCsv = selectedFunctions.join(",")
args.push("--functions", selectedFunctionsCsv);
args.push("--functions", selectedFunctionsCsv, "--profile", profile);
}

const runtime = env.isNodeJS ? "nodejs" : env.functionLanguage;
Expand Down

0 comments on commit 992ef8f

Please sign in to comment.