Skip to content

Commit 2b65566

Browse files
committed
reverted changed in extension.js
Signed-off-by: Claudia Emmanuel <emmanuel.claudia@gmail.com>
1 parent 8070d27 commit 2b65566

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

extension.js

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -672,19 +672,16 @@ function activate(context) {
672672
})
673673
);
674674

675-
if (DelveDebugAdapterDescriptorFactory) {
676-
context.subscriptions.push(
677-
vscode.debug.registerDebugAdapterDescriptorFactory(
678-
"go",
679-
new DelveDebugAdapterDescriptorFactory()
680-
)
681-
);
675+
context.subscriptions.push(
676+
vscode.debug.registerDebugAdapterDescriptorFactory(
677+
"go",
678+
new DelveDebugAdapterDescriptorFactory()
679+
)
680+
);
682681

683-
console.log("Delve Debug Adapter Registered");
684-
} else {
685-
console.log("Debug Adapter registration skipped.");
686-
}
682+
console.log("Delve Debug Adapter Registered");
687683

684+
688685
context.subscriptions.push(
689686
vscode.debug.onDidStartDebugSession((session) => {
690687
console.log(`Debugging started: ${session.name}`);

0 commit comments

Comments
 (0)