From 4c18f3acda5b84512303f7a74d63f7432c23405e Mon Sep 17 00:00:00 2001 From: Jason Williams Date: Mon, 17 Feb 2020 23:08:54 +0000 Subject: [PATCH] updating launch.json for workspace setup --- .devcontainer/devcontainer.json | 13 +++++++++---- .vscode/launch.json | 14 +++++--------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 014e6c2280..89ef727c5b 100644 --- a/.devcontainer/devcontainer.json +++ b/.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" +} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json index 85b09df963..ef1ff5b79f 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -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" } ] }