Created by: Vortec4800
Bull currently strips out the inspect flags from the parent process when spawning child processes. This means if you run the program in an IDE, any breakpoints you set in your sandboxed processors will not fire, which can make development and debugging them much more difficult.
The solution is to detect if the inspect flag is set, then modify it to automatically select an open debug port. This keeps from conflicting with ports that are already in use by other processes. In a production environment where this flag is not set, there is no change to the arguments.
Tested by setting a breakpoint in a sandboxed process and running with WebStorm. Breakpoint in the child process was hit as expected.
If there are side-effects to this change that I'm not thinking of then please let me know, otherwise I think this is a pretty big quality-of-life improvement during development of the processors.