34 lines
1.0 KiB
JSON
34 lines
1.0 KiB
JSON
{
|
|
"name": "Rust Sample",
|
|
"dockerFile": "Dockerfile",
|
|
"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
|
|
|
|
// Set *default* container specific settings.json values on container create.
|
|
"settings": {
|
|
"terminal.integrated.shell.linux": "/bin/bash",
|
|
"lldb.executable": "/usr/bin/lldb",
|
|
// VS Code don't watch files under ./target
|
|
"files.watcherExclude": {
|
|
"**/target/**": true
|
|
}
|
|
},
|
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
"extensions": [
|
|
"rust-lang.rust",
|
|
"bungcip.better-toml",
|
|
"vadimcn.vscode-lldb",
|
|
// (Optional) Displays the current CPU stats, memory/disk consumption, clock freq. etc. of the container host in the VS Code status bar.
|
|
"mutantdino.resourcemonitor"
|
|
],
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
// "forwardPorts": [],
|
|
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
|
// "postCreateCommand": "rustc --version",
|
|
|
|
// Comment out to run as root instead
|
|
"remoteUser": "vscode"
|
|
}
|