Rust编写的JavaScript引擎,该项目是一个试验性质的项目。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

69 lines
2.0 KiB

{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug Boa (Script mode)",
"windows": {
"program": "${workspaceFolder}/target/debug/boa.exe"
},
"program": "${workspaceFolder}/target/debug/boa",
"args": ["${workspaceFolder}/${input:filePath}", "--debug-object"],
"sourceLanguages": ["rust"],
"preLaunchTask": "Cargo Build boa_cli"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug Boa (Module mode)",
"windows": {
"program": "${workspaceFolder}/target/debug/boa.exe"
},
"program": "${workspaceFolder}/target/debug/boa",
"args": [
"${workspaceFolder}/${input:filePath}",
"--debug-object",
"-m",
"-r",
"${workspaceFolder}/${input:modulePath}"
],
"sourceLanguages": ["rust"],
"preLaunchTask": "Cargo Build boa_cli"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug Boa (Tester)",
"windows": {
"program": "${workspaceFolder}/target/debug/boa_tester.exe"
},
"program": "${workspaceFolder}/target/debug/boa_tester",
"args": ["run", "-s", "${input:testPath}", "-vvv"],
"sourceLanguages": ["rust"],
"preLaunchTask": "Cargo Build boa_tester"
}
],
"inputs": [
{
"id": "filePath",
"description": "Relative path to the file to run",
"default": "debug/script.js",
"type": "promptString"
},
{
"id": "modulePath",
"description": "Relative path to the module root directory",
"default": "debug",
"type": "promptString"
},
{
"id": "testPath",
"description": "Relative path to the test from the test262 directory",
"type": "promptString"
}
]
}