mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
100 lines
2.9 KiB
JSON
100 lines
2.9 KiB
JSON
{
|
|
// 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": "node",
|
|
"request": "launch",
|
|
"name": "Launch Tests on Android",
|
|
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
|
|
"args": [
|
|
"-u",
|
|
"tdd",
|
|
"--timeout",
|
|
"999999",
|
|
"--colors",
|
|
// "${workspaceFolder}/test",
|
|
"--opts",
|
|
"./e2e/config/mocha.opts",
|
|
"--runType",
|
|
"android23",
|
|
"--reuseDevice",
|
|
"--verbose"
|
|
],
|
|
"internalConsoleOptions": "openOnSessionStart"
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Launch Tests on iOS",
|
|
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
|
|
"args": [
|
|
"-u",
|
|
"tdd",
|
|
"--timeout",
|
|
"999999",
|
|
"--colors",
|
|
// "${workspaceFolder}/test",
|
|
"--opts",
|
|
"./e2e/config/mocha.opts",
|
|
"--runType",
|
|
"sim.iPhoneX.iOS112",
|
|
"--reuseDevice",
|
|
"--verbose"
|
|
],
|
|
"internalConsoleOptions": "openOnSessionStart"
|
|
},
|
|
{
|
|
"name": "Launch on iOS",
|
|
"type": "nativescript",
|
|
"request": "launch",
|
|
"platform": "ios",
|
|
"appRoot": "${workspaceRoot}",
|
|
"sourceMaps": true,
|
|
"stopOnEntry": false,
|
|
"tnsArgs": [
|
|
"--syncAllFiles"
|
|
],
|
|
"watch": true
|
|
},
|
|
{
|
|
"name": "Attach on iOS",
|
|
"type": "nativescript",
|
|
"request": "attach",
|
|
"platform": "ios",
|
|
"appRoot": "${workspaceRoot}",
|
|
"sourceMaps": true,
|
|
"tnsArgs": [
|
|
"--syncAllFiles"
|
|
],
|
|
"watch": false
|
|
},
|
|
{
|
|
"name": "Launch on Android",
|
|
"type": "nativescript",
|
|
"request": "launch",
|
|
"platform": "android",
|
|
"appRoot": "${workspaceRoot}",
|
|
"sourceMaps": true,
|
|
"stopOnEntry": false,
|
|
"tnsArgs": [
|
|
"--syncAllFiles"
|
|
],
|
|
"watch": true
|
|
},
|
|
{
|
|
"name": "Attach on Android",
|
|
"type": "nativescript",
|
|
"request": "attach",
|
|
"platform": "android",
|
|
"appRoot": "${workspaceRoot}",
|
|
"sourceMaps": true,
|
|
"tnsArgs": [
|
|
"--syncAllFiles"
|
|
],
|
|
"watch": false
|
|
}
|
|
]
|
|
} |