Skip to content

Commit 099ccea

Browse files
author
Tal Hadad
committed
never call .vsc.attach on init automatically, since it happen by sending command by vscode
1 parent 72d57de commit 099ccea

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

R/session/init.R

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,6 @@ init_last <- function() {
5151
rm(".First.sys", envir = globalenv())
5252
)
5353

54-
if (nzchar(Sys.getenv("VSCODE_INIT_R"))) {
55-
.vsc.attach(
56-
host = Sys.getenv("VSCODE_ATTACH_HOST", unset = NA),
57-
port = strtoi(Sys.getenv("VSCODE_ATTACH_PORT", unset = NA))
58-
)
59-
}
60-
6154
invisible()
6255
}
6356

0 commit comments

Comments
 (0)