74 строки
2.0 KiB
JSON
74 строки
2.0 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": [
|
|
{
|
|
"name": "Attach to packager",
|
|
"request": "attach",
|
|
"type": "reactnative",
|
|
"cwd": "${workspaceFolder}/apps/fluent-tester"
|
|
},
|
|
{
|
|
"name": "Attach to packager (Win32)",
|
|
"request": "attach",
|
|
"type": "reactnative",
|
|
"cwd": "${workspaceFolder}/apps/win32"
|
|
},
|
|
{
|
|
"name": "Debug test",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"program": "${workspaceRoot}/node_modules/jest/bin/jest.js",
|
|
"cwd": "${workspaceFolder}/packages/just-scripts",
|
|
"args": ["-i", "--runInBand"],
|
|
"runtimeArgs": ["--nolazy"],
|
|
"env": {
|
|
"NODE_ENV": "development"
|
|
},
|
|
"console": "integratedTerminal",
|
|
"sourceMaps": true,
|
|
"outFiles": []
|
|
},
|
|
{
|
|
"name": "Debug current folder test",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"program": "${workspaceRoot}/node_modules/jest/bin/jest.js",
|
|
"cwd": "${fileDirname}",
|
|
"args": ["-i", "--runInBand"],
|
|
"runtimeArgs": ["--nolazy"],
|
|
"env": {
|
|
"NODE_ENV": "development"
|
|
},
|
|
"console": "integratedTerminal",
|
|
"sourceMaps": true,
|
|
"outFiles": []
|
|
},
|
|
{
|
|
"name": "Debug metro bundling task",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"program": "${workspaceRoot}/scripts/debug-metro-pack.js",
|
|
"cwd": "${workspaceFolder}/packages/libraries/core",
|
|
"args": ["rnTester"],
|
|
"runtimeArgs": ["--nolazy"],
|
|
"env": {
|
|
"NODE_ENV": "development"
|
|
},
|
|
"console": "integratedTerminal",
|
|
"sourceMaps": true,
|
|
"outFiles": []
|
|
},
|
|
{
|
|
"name": "Debug Fabric Tester",
|
|
"type": "node",
|
|
"request": "attach",
|
|
"protocol": "inspector",
|
|
"port": 9222,
|
|
"sourceMaps": true
|
|
}
|
|
]
|
|
}
|