-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Pass additional arguments to child process when loading plugin file #5802
Comments
Great idea! In the meantime, have you tried running with the environment variable |
Good point, thanks, I will try it out! |
@brian-mann and I discussed this a little bit, with the goal of getting an argument that is capable of selecting the plugin, the CLI, the Electron app, or all processes for debugging. Here's kinda what we came up with:
Open to thoughts on this design. -- For simplicity's sake, we'll probably skip adding |
I personally like the proposition (y) |
|
Since this has not had a lot of interest over the years, we’ll close this as not planned. |
Current behavior:
When writing a custom plugin and trying to debug it (e.g., from VSCode), we cannot do this, because the plugin is loaded with
fork
without initial Node.js arguments.Desired behavior:
The following Node.js arguments are passed to the child process:
--inspect-brk
--inspect-port
--inspect
--require
The text was updated successfully, but these errors were encountered: