We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
code-server --version
.vscode/launch.json
{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "Launch Go", "type": "go", "request": "launch", "mode": "auto", "program": "${workspaceFolder}", "env": {"AAA":"BBB"}, "args":["-mode","modeA"] } ] }
main.go
package main import ( "flag" "fmt" "os" ) var ( mode = flag.String("mode", "", "Running mode. [modeA|modeB|modeC]") ) func main() { flag.Parse() env_aaa := os.Getenv("AAA") fmt.Printf("Mode: %s\n", *mode) fmt.Printf("Env AAA: %v\n", env_aaa) }
go mod init go-test
You can simply get this result(expected behavior) by switching code-server 3.12 to 3.11 So, I think this is a bug
program,args,env are not loaded
program
args
env
[2021-12-02T18:38:35.361Z] debug setting up vs code... [2021-12-02T18:38:35.362Z] debug vscode got message from code-server {"type":"init"} [2021-12-02T18:38:35.510Z] debug setting up vs code... [2021-12-02T18:38:35.511Z] debug vscode got message from code-server {"type":"init"} [2021-12-02T18:38:37.008Z] debug setting up vs code... [2021-12-02T18:38:37.008Z] debug vscode got message from code-server {"type":"init"} [2021-12-02T18:38:38.004Z] debug vscode got message from code-server {"type":"socket"} [2021-12-02T18:38:38.005Z] debug protocol Initiating handshake... {"token":"c70f2893-38ca-47c0-9cf6-51b7330c58f5"} [2021-12-02T18:38:38.015Z] debug protocol Handshake completed {"token":"c70f2893-38ca-47c0-9cf6-51b7330c58f5"} [2021-12-02T18:38:38.015Z] debug management Connecting... {"token":"c70f2893-38ca-47c0-9cf6-51b7330c58f5"} [2021-12-02T18:38:38.016Z] debug vscode 1 active management connection(s) [2021-12-02T18:38:38.319Z] debug got latest version {"latest":"3.12.0"} [2021-12-02T18:38:38.319Z] debug comparing versions {"current":"3.12.0","latest":"3.12.0"} [2021-12-02T18:38:38.370Z] debug vscode got message from code-server {"type":"socket"} [2021-12-02T18:38:38.370Z] debug protocol Initiating handshake... {"token":"66575062-25ee-406f-aa66-55e725676c98"} [2021-12-02T18:38:38.591Z] debug protocol Handshake completed {"token":"66575062-25ee-406f-aa66-55e725676c98"} [2021-12-02T18:38:38.592Z] debug exthost Connecting... {"token":"66575062-25ee-406f-aa66-55e725676c98"} [2021-12-02T18:38:38.592Z] debug exthost Getting NLS configuration... {"token":"66575062-25ee-406f-aa66-55e725676c98"} [2021-12-02T18:38:38.592Z] debug vscode 1 active exthost connection(s) [2021-12-02T18:38:38.592Z] debug exthost Spawning extension host... {"token":"66575062-25ee-406f-aa66-55e725676c98"} [2021-12-02T18:38:38.596Z] debug exthost Waiting for handshake... {"token":"66575062-25ee-406f-aa66-55e725676c98"} [2021-12-02T18:38:38.978Z] debug exthost Handshake completed {"token":"66575062-25ee-406f-aa66-55e725676c98"} [2021-12-02T18:38:38.978Z] debug exthost Sending socket {"token":"66575062-25ee-406f-aa66-55e725676c98"}
This issue can be reproduced in VS Code: No This issue not happen in VS Code 1.62.3
The text was updated successfully, but these errors were encountered:
I believe this is a duplicate of #4221
Sorry, something went wrong.
Not sure. In this case, the debugger started, but all options are not loaded.
Ahhh okay! I guess we'll leave this open until we investigate further. Thanks for clarifying!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days.
No branches or pull requests
OS/Web Information
code-server --version
: code-server 3.12Steps to Reproduce
.vscode/launch.json
with following contentmain.go
with following contentgo mod init go-test
Expected
You can simply get this result(expected behavior) by switching code-server 3.12 to 3.11
So, I think this is a bug
Actual
program
,args
,env
are not loadedLogs
Screenshot
Notes
This issue can be reproduced in VS Code: No
This issue not happen in VS Code 1.62.3
The text was updated successfully, but these errors were encountered: