Browse Source

update launch.json (#1034)

- cpp version is no longer needed
- add VM launch config using cargo args
pull/1036/head
Jason Williams 4 years ago committed by GitHub
parent
commit
ce78947fce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 33
      .vscode/launch.json

33
.vscode/launch.json vendored

@ -16,29 +16,20 @@
"sourceLanguages": ["rust"] "sourceLanguages": ["rust"]
}, },
{ {
"name": "(Windows) Launch", "type": "lldb",
"type": "cppvsdbg",
"request": "launch", "request": "launch",
"args": ["${workspaceFolder}/tests/js/test.js"], "name": "Launch (VM)",
"program": "${workspaceFolder}/target/debug/boa.exe", "cargo": {
"cwd": "${workspaceFolder}", "args": [
"sourceFileMap": { "run",
"/rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8": "${env:USERPROFILE}/.rustup/toolchains/stable-x86_64-pc-windows-msvc/lib/rustlib/src/rust", "--manifest-path",
"/rustc/b8cedc00407a4c56a3bda1ed605c6fc166655447": "${env:USERPROFILE}/.rustup/toolchains/stable-x86_64-pc-windows-msvc/lib/rustlib/src/rust" "./boa_cli/Cargo.toml",
}, "--features",
"stopAtEntry": false, "vm"
"symbolSearchPath": "https://msdl.microsoft.com/download/symbols" ]
}, },
{ "args": ["${workspaceFolder}/tests/js/test.js"],
"name": "(Windows) Launch Debug", "sourceLanguages": ["rust"]
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceRoot}/target/debug/foo.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceRoot}",
"environment": [],
"externalConsole": true
} }
] ]
} }

Loading…
Cancel
Save