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

Getting errors on attach #36

Open
bezlant opened this issue Mar 8, 2023 · 2 comments
Open

Getting errors on attach #36

bezlant opened this issue Mar 8, 2023 · 2 comments

Comments

@bezlant
Copy link

bezlant commented Mar 8, 2023

When I try to attach to a process with running ts-node server, i get an error. I've tried to change the port in the server setup in attach method, but I keep getting the same erorr.
2023-03-08-100333_2009x33_escrotum
Is there a step by step guide for debbuging node server?

@bezlant
Copy link
Author

bezlant commented Mar 10, 2023

Seems to be working now for some magical reason. :O

@bezlant bezlant closed this as completed Mar 10, 2023
@bezlant
Copy link
Author

bezlant commented Mar 11, 2023

I figured out the problem was in launching ts-node-dev without the flag --inspect which allows the debugger to connect.

@bezlant bezlant reopened this Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant