Skip to content

Commit

Permalink
fix debug not work in container (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
yyuuttaaoo authored Sep 26, 2022
1 parent ce7cf74 commit cecd33f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
}
},
"initializeCommand": ".devcontainer/gen_env.sh",
"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
"customizations": {
"vscode": {
"extensions": [
Expand Down
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"program": "${workspaceFolder}/plugin_main",
"buildFlags": "-mod=vendor",
"env": {

"LD_LIBRARY_PATH": "${workspaceFolder}/pkg/logtail"
}
}
]
Expand Down

0 comments on commit cecd33f

Please sign in to comment.