-
Notifications
You must be signed in to change notification settings - Fork 8
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
Is it possible to attach a debugger to samp-node? #9
Comments
Try TypeScript. With typings you'll avoid a lot of those pesky dynamic language-plagued bugs.
Alex Rahali
E // ***@***.*** ***@***.***/0?redirect=mailto%3Aalexrahali4%40gmail.com&recipient=cmVwbHkrQUpJRUNYR0JaS1pCSFBCN1hXQ1FPTU42TEk0RExFVkJOSEhEREM0Q09NQHJlcGx5LmdpdGh1Yi5jb20%3D)
W // https://alexdev.site ***@***.***/1?redirect=https%3A%2F%2Falexdev.site&recipient=cmVwbHkrQUpJRUNYR0JaS1pCSFBCN1hXQ1FPTU42TEk0RExFVkJOSEhEREM0Q09NQHJlcGx5LmdpdGh1Yi5jb20%3D)
…On Mar 14 2021, at 6:34 pm, Daniel Branco ***@***.***> wrote:
I've started developing a framework to ease up gamemode developments with this plugin, and I've been loving to work with it so far! But since I'm still a bit new with VS Code and node apps, I would like to know if somebody knows a way to debug developments, without constantly having to define console.logs, or if there is an easier alternative. Thanks in advance!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub ***@***.***/2?redirect=https%3A%2F%2Fgithub.com%2FAmyrAhmady%2Fsamp-node%2Fissues%2F9&recipient=cmVwbHkrQUpJRUNYR0JaS1pCSFBCN1hXQ1FPTU42TEk0RExFVkJOSEhEREM0Q09NQHJlcGx5LmdpdGh1Yi5jb20%3D), or unsubscribe ***@***.***/3?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJIECXFJF6ZUO3BYIKC7CUDTDT6TLANCNFSM4ZFHYZFQ&recipient=cmVwbHkrQUpJRUNYR0JaS1pCSFBCN1hXQ1FPTU42TEk0RExFVkJOSEhEREM0Q09NQHJlcGx5LmdpdGh1Yi5jb20%3D).
|
I've looked into this just now for the same reason. When enabling it with the following code:
It fails with the following error:
No idea why this is happening, would be useful to allow attaching an external debugger. |
This uses a 32 bit build of node which doesn’t include any debugging tools. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've started developing a framework to ease up gamemode developments with this plugin, and I've been loving to work with it so far! But since I'm still a bit new with VS Code and node apps, I would like to know if somebody knows a way to debug developments, without constantly having to define console.logs, or if there is an easier alternative. Thanks in advance!
The text was updated successfully, but these errors were encountered: