mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
d143f3f2ec
* adds ExecutionEvents view modal to ExecutionList * fix time rendering and remove wf column * checks for unfinished executions and fails them * prevent re-setting stoppedAt for execution * some cleanup / manually create rundata after crash * quicksave * remove Threads lib, log worker rewrite * cleanup comment * fix sentry destination return value * test for tests... * run tests with single worker * fix tests * remove console log * add endpoint for execution data recovery * lint cleanup and some refactoring * fix accidental recursion * remove cyclic imports * add rundata recovery to Workflowrunner * remove comments * cleanup and refactor * adds a status field to executions * setExecutionStatus on queued worker * fix onWorkflowPostExecute * set waiting from worker * get crashed status into frontend * remove comment * merge fix * cleanup * catch empty rundata in recovery * refactor IExecutionsSummary and inject nodeExecution Errors * reduce default event log size to 10mb from 100mb * add per node execution status * lint fix * merge and lint fix * phrasing change * improve preview rendering and messaging * remove debug * Improve partial rundata recovery * fix labels * fix line through * send manual rundata to ui at crash * some type and msg push fixes * improve recovered item rendering in preview * update workflowStatistics on recover * merge fix * review fixes * merge fix * notify eventbus when ui is back up * add a small timeout to make sure the UI is back up * increase reconnect timeout to 30s * adjust recover timeout and ui connection lost msg * do not stop execution in editor after x reconnects * add executionRecovered push event * fix recovered connection not green * remove reconnect toast and merge existing rundata * merge editor and recovered data for own mode
85 lines
2.3 KiB
JSON
85 lines
2.3 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": "Jest: current file",
|
|
"program": "${workspaceFolder}/node_modules/.bin/jest",
|
|
"args": ["${fileBasenameNoExtension}"],
|
|
"console": "integratedTerminal",
|
|
"windows": {
|
|
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
|
|
}
|
|
},
|
|
{
|
|
"name": "Attach to running n8n",
|
|
"processId": "${command:PickProcess}",
|
|
"request": "attach",
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"type": "node"
|
|
},
|
|
{
|
|
"name": "Launch n8n with debug",
|
|
"program": "${workspaceFolder}/packages/cli/bin/n8n",
|
|
"cwd": "${workspaceFolder}/packages/cli/bin",
|
|
"request": "launch",
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"type": "node",
|
|
"env": {
|
|
// "N8N_PORT": "5679",
|
|
},
|
|
"outputCapture": "std",
|
|
"killBehavior": "polite"
|
|
},
|
|
{
|
|
"name": "Launch n8n CLI dev with debug",
|
|
"runtimeExecutable": "pnpm",
|
|
"cwd": "${workspaceFolder}/packages/cli",
|
|
"runtimeArgs": ["run", "buildAndDev", "--", "--inspect-brk"],
|
|
"console": "integratedTerminal",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true,
|
|
"request": "launch",
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"type": "node",
|
|
"env": {
|
|
// "N8N_PORT": "5679",
|
|
},
|
|
"outputCapture": "std",
|
|
"killBehavior": "polite"
|
|
},
|
|
{
|
|
"name": "Debug CLI tests",
|
|
"cwd": "${workspaceFolder}/packages/cli",
|
|
"runtimeExecutable": "npm",
|
|
"args": [
|
|
"run",
|
|
"test"
|
|
// "--",
|
|
// "ActiveExecutions"
|
|
],
|
|
"type": "node",
|
|
"request": "launch"
|
|
}
|
|
]
|
|
|
|
/**
|
|
How this works:
|
|
|
|
This file gives VS Code the ability to start and debug n8n.
|
|
The editor is not debuggable from here.
|
|
|
|
The "Run and Debug" tab of your editor should display the "Launch n8n with debug" option.
|
|
This should start n8n and open a debug console. You can add breakpoints to
|
|
Parts of the code residing inside `cli`, `core`, `workflow` and `nodes-base` packages
|
|
|
|
You can also choose to "Attach to running n8n". This is useful if you
|
|
have n8n running in another terminal window and want to debug it.
|
|
Once you click to Debug, VS Code will prompt you to select a process to attach to.
|
|
*/
|
|
}
|