I am trying to enhance the dialog node in node-red-dashboard.
Therefore I have changed locally the main.js file under node-red-dashboard/src.
Now I want to debug the file in vscode. Therefore I installed
in node-red/.node-red folder and removed the node-red-dashboard/dist folder as mentioned in
Developers section under: https://github.com/node-red/node-red-dashboard/README.md
My assumption is, that instead of using the index.html file in dist folder, the index.html file in folder src is used. But there are several references to a "vendor" folder under src, that does not exist.
Where or how do I get the vendor folder to start the debugging of src/main.js?
Thank you for your answer. This is exactly what I try for several hours now - with different variations on where to install the node-red-dashboard and my own node:
in .node-red directly or under nod-red folder or in separate folders not under .node-red. But whenever I do this, the application is alway running on app.min.js. Therefore I have at least removed the dist folder, but now I'm facing the issue with the references to the missing vendor folder under node-red-dashboard/src. I have sucessfully debugged my application, but only with app.min.js - when I rebuild it with gulp, but I want to debug the main.js file. Is this also possible?
Sure, I can use the app.min.js version, but the original files will be better to debug.
Once again my question:
Is there any way to debug the original main.js and not just the app.min.js file of node-red-dashboard
I followed the steps mentioned and I can debug frontend and backend coding very well, but ....
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.