mirror of https://github.com/boa-dev/boa.git
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.
52 lines
1.5 KiB
52 lines
1.5 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" |
|
} |
|
], |
|
"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" |
|
} |
|
] |
|
}
|
|
|