Skip to content

Commit 38a8243

Browse files
committed
Only ignore cert errors when not secure
Signed-off-by: worksofliam <[email protected]>
1 parent 17d7837 commit 38a8243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/debug/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ export async function startDebug(instance: Instance, options: DebugOptions) {
589589
"host": connection!.currentHost,
590590
"port": port,
591591
"secure": secure, // Enforce secure mode
592-
"ignoreCertificateErrors": true,
592+
"ignoreCertificateErrors": !secure,
593593
"subType": "batch",
594594
"library": options.library.toUpperCase(),
595595
"program": options.object.toUpperCase(),

0 commit comments

Comments
 (0)