36 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
 | 
						|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.185.0/containers/rust
 | 
						|
{
 | 
						|
	"name": "Rust Sample",
 | 
						|
	"build": {
 | 
						|
		"dockerfile": "Dockerfile"
 | 
						|
	},
 | 
						|
	"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
 | 
						|
 | 
						|
	// Set *default* container specific settings.json values on container create.
 | 
						|
	"settings": { 
 | 
						|
		"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",
 | 
						|
		"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"
 | 
						|
}
 |