search

Home  >  Q&A  >  body text

Front-end - How to debug nodejs code in sublime

When writing js code to debug, you can console.log or break points in the browser;
But when nodejs code is used to obtain database data, how is this code debugged?

迷茫迷茫2771 days ago811

reply all(3)I'll reply

  • 我想大声告诉你

    我想大声告诉你2017-06-05 11:15:41

    Please download vscode, which comes with node debugging tool

    reply
    0
  • 大家讲道理

    大家讲道理2017-06-05 11:15:41

    To be honest, I used vscode. I also used sublime before, but later I fell in love with vscode. It looks good and is easy to use. And you can debug node. You can also preview md files. . You won’t regret using it, trust me.

    reply
    0
  • 漂亮男人

    漂亮男人2017-06-05 11:15:41

    There is a software called SublimeText-Node.js. After downloading and configuring it, press ctrl+b to debug it. This way you can debug in the lower part of sublime text.

    reply
    0
  • Cancelreply