Skip to content

Commit

Permalink
Only ignore cert errors when not secure
Browse files Browse the repository at this point in the history
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
  • Loading branch information
worksofliam committed Apr 2, 2024
1 parent 17d7837 commit 38a8243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/debug/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ export async function startDebug(instance: Instance, options: DebugOptions) {
"host": connection!.currentHost,
"port": port,
"secure": secure, // Enforce secure mode
"ignoreCertificateErrors": true,
"ignoreCertificateErrors": !secure,
"subType": "batch",
"library": options.library.toUpperCase(),
"program": options.object.toUpperCase(),
Expand Down

0 comments on commit 38a8243

Please sign in to comment.