@eplata/memory-storage-data
Version:
Modulo que nos permitirá obtener data en memoria
75 lines • 2.38 kB
JSON
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Iniciar el programa (example.js)",
"skipFiles": [
"<node_internals>/**"
],
//"autoAttachChildProcesses": true, // Descomentar para usar terminal
"program": "${workspaceFolder}/example.js",
"env": {
/* MODULO ACTUAL */
/* MODULO LOGGER */
"LOGGER_MODULE__FORMAT": "false",
"MEMORY_STORAGE_DATA_MODULE__REDIS_HOST": "127.0.0.1",
"MEMORY_STORAGE_DATA_MODULE__REDIS_DB": "0",
}
},
{
"type": "node",
"request": "launch",
"name": "Iniciar Programa (example.js) nodemon",
"skipFiles": [
"<node_internals>/**"
],
//"autoAttachChildProcesses": true,
"program": "${workspaceFolder}/node_modules/.bin/nodemon",
"args": [
"example.js"
],
"env": {
/* MODULO ACTUAL */
/* MODULO LOGGER */
"LOGGER_MODULE__FORMAT": "false",
}
},
{
"type": "node",
"request": "launch",
"name": "Ejecutar Mocha Test en todos los archivos",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/test",
"--recursive"
],
"env": {
"NODE_ENV": "test"
},
// "console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
{
"type": "node",
"request": "launch",
"name": "Ejecutar Mocha en archivo actual",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"--timeout",
"999999",
"--colors",
"${file}"
],
"env": {
"NODE_ENV": "test"
},
// "console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
}
]
}