Skip to content
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

Start debugger for running server process #385

Open
davewasmer opened this issue Sep 8, 2017 · 0 comments
Open

Start debugger for running server process #385

davewasmer opened this issue Sep 8, 2017 · 0 comments

Comments

@davewasmer
Copy link
Collaborator

Node's debugger mode can be started on an already running process by sending SIGUSER1. Since the CLI runs the server in a separate process, we could make this easier, i.e.:

$ denali server
cli v0.0.14 [linked]  | denali v0.0.32 [linked]

✔ my-app build complete (3.751s)
[2017-09-06T04:19:36.552Z] Server started

Press (d) to start debugger, Ctrl-C to quit

Might be worth exploring a bit further what we could display in CLI output as well. Perhaps we could add Press (f) to fork to test clustering, show CPU/memory usage, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant