After modifying the nodejs code, you have to restart every time to see the effect. Can you not restart it, and it will take effect immediately after modification, and it can also be debugged? It seems that nodejs written with ES6 cannot be debugged directly. Debugging is the code after babel converted to ES5!
F5 configures the debugging environment and debugging is fine.