Exit code 127 indicates a ‘command not found error’.
could you try running hello.js separately? I suspect the sudo is causing problems since the child process for hello.js won’t also start under sudo. Try something like:
~/nodejs/node-inspector sudo node_g --debug test/hello.js &
~/nodejs/node-inspector sudo node bin/inspector.js
If that doesn’t work could you provide more details on your environment and distro?