Yarn workspace info fails to load when run with IDE debugging
steveukx opened this issue · comments
When using IntelliJ to run yarn/npm scripts with the debugger attached, any node child process the script spawns will also be bound to the debugger and therefore have debugger connecting messages printed to stdErr
.
At present, the check used to determine whether yarnpkg
could get workspace details in getYarnWorkspaceInfo
is just to check for content on stdErr
rather than use the exitCode
value of the child process, meaning it's not currently possible to use modular
when debugging an app.