-
Notifications
You must be signed in to change notification settings - Fork 831
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
Remote debugging for Foxx services #1538
Comments
Interesting Idea. One would probably have to run the test database with only 1 js context to make this working properly (else you can't tell which context your foxx is going to run in). I can't promise a time frame for this yet. |
If it's under consideration, I'm content 👍 |
Nota Bene: Would this be extendible to user supplied aql-functions? |
probably yes. |
Is there any progress with this request? |
As our foxx services get more elaborate, attaching a real debugger would really help in analyzing aberrant runtime behavior in a more timely fashion -- is there light at the end of the tunnel? Or are we stuck with |
The JS debugger protocol is based on websockets. It would also probably require running ArangoDB with a single V8 thread. Although the main use case is debugging Foxx services, this is actually not at all related to Foxx implementation-wise. |
@pluma thank you for valuable insight to move forward, questions are
Thanks, looking forward for RE |
@pavelsevcik I feel your pain but this is a fairly large feature and will likely require very gradual iteration to become feasible. I think the biggest blocker is websocket support, as the debugger protocol depends on it. I suggest also following #602, which is likely a related problem. |
Is it planned, or even possible, to allow remote debugging via the V8 debug protocol, or swank.js (a node module), or another (homegrown) solution like a dbgP implementation?
The text was updated successfully, but these errors were encountered: