-
Notifications
You must be signed in to change notification settings - Fork 108
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
mirrord + vscode + templating seems to get ide to hang #2936
Comments
after trying out a few different launch configs, i think the issue may be down to the {
"version": "0.2.0",
"configurations": [
{
"name": "Next.js: Working",
"type": "node",
"request": "launch",
"skipFiles": [
"<node_internals>/**"
],
"runtimeExecutable": "npx",
"runtimeArgs": [
"next",
"dev"
],
},
{
"name": "Next.js: Non-working",
"type": "node",
"request": "launch",
"skipFiles": [
"<node_internals>/**"
],
"runtimeExecutable": "npx",
"runtimeArgs": [
"next",
"dev"
],
"env": {
"NODE_OPTIONS": "--inspect"
},
}
]
} now, we just need to find out what the problem is with using |
{ "version": "0.2.0",
"configurations": [ {
"name": "NEW",
"request": "launch",
"runtimeArgs": [
"next",
"dev"
],
"runtimeExecutable": "npx",
"skipFiles": [
"/**"
],
"type": "node",
"outFiles": [
"${workspaceFolder}/x/**/*.(m|c|)js",
"!**/node_modules/**"
],
"cwd": "${workspaceFolder}/apps/x",
}
]
} |
mirrord is being loaded into vscode's watchdog extension (which looks to be an activity monitor or some sort) and then trying to render the config with Tera - the call to get_env() is then hanging. This can be worked around by adding a default value, for example |
when running a launch configuration as follows (next dev project, node 18, macOS)
mirrord.json:
The text was updated successfully, but these errors were encountered: