Browse Source

updating launch.json for workspace setup

pull/256/head
Jason Williams 5 years ago
parent
commit
4c18f3acda
  1. 13
      .devcontainer/devcontainer.json
  2. 14
      .vscode/launch.json

13
.devcontainer/devcontainer.json

@ -26,13 +26,18 @@
// not in base container images. You can also update this to an specific shell to ensure VS Code
// uses the right one for terminals and tasks. For example, /bin/bash (or /bin/ash for Alpine).
"terminal.integrated.shell.linux": null,
"lldb.launch.sourceLanguages": ["rust"]
"lldb.launch.sourceLanguages": [
"rust"
]
},
// Uncomment the next line if you want to publish any ports.
// "appPort": [],
// Uncomment the next line to run commands after the container is created - for example installing git.
// "postCreateCommand": "apt-get update && apt-get install -y git",
// Add the IDs of extensions you want installed when the container is created in the array below.
"extensions": ["vadimcn.vscode-lldb", "matklad.rust-analyzer"],
"postCreateCommand": "rustup toolchain install stable && rustup component add rls rust-src rust-analysis --toolchain stable"
}
"extensions": [
"vadimcn.vscode-lldb",
"matklad.rust-analyzer"
],
"postCreateCommand": "rustup toolchain install stable && rustup component add rust-src rust-analysis --toolchain stable"
}

14
.vscode/launch.json vendored

@ -8,24 +8,20 @@
"type": "lldb",
"request": "launch",
"name": "Launch",
"args": [],
"program": "./target/debug/boa",
"cwd": "${workspaceRoot}",
"stopOnEntry": false,
"program": "${workspaceFolder}/target/debug/boa_cli",
"sourceLanguages": ["rust"]
},
{
"name": "(Windows) Launch",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}/target/debug/boa.exe",
"stopAtEntry": false,
"program": "${workspaceFolder}/target/debug/boa_cli.exe",
"cwd": "${workspaceFolder}",
"sourceFileMap": {
"/rustc/73528e339aae0f17a15ffa49a8ac608f50c6cf14": "${env:USERPROFILE}\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\src\\rust"
"/rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8": "${env:USERPROFILE}/.rustup/toolchains/stable-x86_64-pc-windows-msvc/lib/rustlib/src/rust"
},
"symbolSearchPath": "https://msdl.microsoft.com/download/symbols",
"environment": []
"stopAtEntry": false,
"symbolSearchPath": "https://msdl.microsoft.com/download/symbols"
}
]
}

Loading…
Cancel
Save