..
I need some guidance regarding interprocess communication with Deno
What are good cross-platform (Windows, Linux) options for interprocess communication / data sharing between a Deno runtime running untrusted code, and another process that is trusted (both are running on the same host)? I recognize there are always risks associated with this, and I don't expect to achieve perfect security; I just don't want to take an approach that is absurdly insecure.
Besides security, performance and ease of use are concerns; it would be preferable to not have to create my own protocol, for instance.
9 replies
How can I reattach a debugger after disconnecting?
I want to be able to start deno from a command line, but be able to attach to it from VSCode.
I actually have that much working, but there is one issue - if I disconnect the debugger, I cannot reattach it.
I am running like so:
deno run --inspect-wait .\first_steps.ts
I am attaching with this configuration:
The source code is a couple of loops that each take a few seconds to execute.
After hitting a breakpoint in the first loop, I disconnect.
I then immediately try to reconnect, but it seems the program ignores the attempt until it finishes running.
Is there anything I can do differently to be able to reattach the debugger?2 replies