-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debugging not working #26
Comments
@Kesymaru It Happened with me, because already a node server was running and executing my script in the background. Close your debugger and check if server is already running? |
@dhruvr i tested closing my debugger and run it again, even killing the debugger process from the task manager. the server runs correctly after killed it and run it again, but the debugger does not work. |
@Kesymaru Are you starting the debugger and server both. The debugger is supposed to start your node process? |
@dhruvr yeah the debugger runs the main script of my project /server/bin/project so basically when i run the debugger it starts my server project |
Does anyone know how to make the debugger work, starting the app and then debugging it? It is possible to attach the debugger to an already stated app? I really want to make the debugger work so i can use atom as my daily editor. |
Hi @Kesymaru, are you using a nodejs right away or you have it compiled with a custom sourcemaps directory? |
Hello.
I have installed and configured to debug my project on node.js, the configuration is:
Binary Path: "C:\Program Files\nodejs\node.exe"
Port: 8000
Source Script: C:\Users\myUser\Documents\Project\server\bin\project
Environment Variables: NODE_ENV=development
The problem is that the server runs correctly, when the project is running correctly the breakpoints are not working, adding a new breakpoint and tested sending a request to the server and the breakpoint is not fired for some reason.
The xatom-debug shows a status "Node.js: Debugger Resumed"
On the node console the output is:
Also tried to debug the project using the chrome inspector and the same problem happened.
I would like to know if i am missing something on my setup or if there is another way to debug a project (node + express + restful api), i have been using webstorm node debugger for the same project with the same setup and it works on webstorm.
The text was updated successfully, but these errors were encountered: