You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a default Launch config in VS Code to run my app which is using the @nrwl/js:swc executor.
During execution, VS Code automatically attach a debugger, and SWC will print out Debugger attached. to stdout. See this comment.
In the compile-swc file, stderrOnData will be called with the string Debugger attached., and will mark the compilation as failed.
Expected Behavior
The swc executor should ignore the string Debugger attached., and should consider the compilation successful.
Steps to Reproduce
Add a project with the executor "executor": "@nrwl/js:swc",.
Launch it with a debugger, this is easy in VS Code.
This issue may not be prioritized if details are not provided to help us reproduce the issue.
Failure Logs
Debugger attached. // This is my own console.log
There was an error with the build. See above.
Environment
> NX Report complete - copy this into the issue template
Node : 16.15.0
OS : darwin arm64
yarn : 3.2.0
nx : 14.4.2
@nrwl/angular : Not Found
@nrwl/cypress : 14.4.2
@nrwl/detox : Not Found
@nrwl/devkit : 14.4.2
@nrwl/eslint-plugin-nx : 14.4.2
@nrwl/express : Not Found
@nrwl/jest : 14.4.2
@nrwl/js : 14.4.2
@nrwl/linter : 14.4.2
@nrwl/nest : Not Found
@nrwl/next : 14.4.2
@nrwl/node : 14.4.2
@nrwl/nx-cloud : Not Found
@nrwl/nx-plugin : Not Found
@nrwl/react : 14.4.2
@nrwl/react-native : Not Found
@nrwl/schematics : Not Found
@nrwl/storybook : 14.4.2
@nrwl/web : 14.4.2
@nrwl/workspace : 14.4.2
typescript : 4.7.4
---------------------------------------
Community plugins:
@nxext/svelte: 14.0.0
@nxext/vite: 14.0.1
The text was updated successfully, but these errors were encountered:
Current Behavior
I have created a default Launch config in VS Code to run my app which is using the @nrwl/js:swc executor.
During execution, VS Code automatically attach a debugger, and SWC will print out
Debugger attached.
to stdout. See this comment.In the
compile-swc
file,stderrOnData
will be called with the stringDebugger attached.
, and will mark the compilation as failed.Expected Behavior
The swc executor should ignore the string
Debugger attached.
, and should consider the compilation successful.Steps to Reproduce
Add a project with the executor
"executor": "@nrwl/js:swc",
.Launch it with a debugger, this is easy in VS Code.
This issue may not be prioritized if details are not provided to help us reproduce the issue.
Failure Logs
Environment
The text was updated successfully, but these errors were encountered: