mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
refactor: Format root-level files (#3858)
* ✨ Create `format.mjs` script * 👕 Add lint exception * ⚡ Add root formatting to `format` command * 🎨 Fix glob in `.prettierignore` * 🚚 Improve naming * 🎨 Format root-level files * ⚡ Simplify check * ⚡ Add period to extension * ⚡ Locate config * ⚡ Add `ignore` arg * 🚚 Move `config` and `ignore` after check
This commit is contained in:
8
.vscode/DEBUGGER.md
vendored
8
.vscode/DEBUGGER.md
vendored
@@ -26,13 +26,13 @@ In order to make this process easier you can simply run `npm run watch` in anoth
|
||||
|
||||
Docker debugging is currently not functional. We offer 2 other methods:
|
||||
|
||||
1) Launch n8n from inside VSCode:
|
||||
1. Launch n8n from inside VSCode:
|
||||
From the "Run and Debug" section in VSCode you can choose the option named "Launch n8n with debug".
|
||||
This will start n8n to run as normal, but with debugger attached.
|
||||
2) Another possibility is if n8n is already running, say, in your terminal.
|
||||
This will start n8n to run as normal, but with debugger attached.
|
||||
2. Another possibility is if n8n is already running, say, in your terminal.
|
||||
You can attach the debugger to it.
|
||||
This is done by choosing the option "Attach to running n8n".
|
||||
VSCode will present you with a prompt to select the n8n process. It usually is displayed with `node ./n8n`
|
||||
VSCode will present you with a prompt to select the n8n process. It usually is displayed with `node ./n8n`
|
||||
|
||||
## What can be debugged?
|
||||
|
||||
|
||||
8
.vscode/launch.json
vendored
8
.vscode/launch.json
vendored
@@ -8,18 +8,14 @@
|
||||
"name": "Attach to running n8n",
|
||||
"processId": "${command:PickProcess}",
|
||||
"request": "attach",
|
||||
"skipFiles": [
|
||||
"<node_internals>/**"
|
||||
],
|
||||
"skipFiles": ["<node_internals>/**"],
|
||||
"type": "node"
|
||||
},
|
||||
{
|
||||
"name": "Launch n8n with debug",
|
||||
"program": "${workspaceFolder}/packages/cli/bin/n8n",
|
||||
"request": "launch",
|
||||
"skipFiles": [
|
||||
"<node_internals>/**"
|
||||
],
|
||||
"skipFiles": ["<node_internals>/**"],
|
||||
"type": "node",
|
||||
"env": {
|
||||
// "N8N_PORT": "5679",
|
||||
|
||||
Reference in New Issue
Block a user