-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
node - esbuild bundler are not attaching debugger - sourcemap not generated #14556
Comments
It appears esbuilds are missign sourcemap even is the flag is set to true. in main.cjs I am not seeing any references to soucemap. |
adding sourcemap: "both" to esbuildOptions under options in
|
@jaysoo given the changes in the PR that closed this, I assume that the "sourcemap" option for the executor is going to become deprecated and that we're to migrate to "esbuildOptions" for it? (So that I can go ahead and safely delete the "sourcemap" setting from the target in my project.json) |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
When I build the node application with esbuild, break pints on typescripts are not working but instead in need to go to main.cjs under dist to break.
I created a the workspace with express preset. webpack builds are attaching break points correctly but that doesn't allow me to import esmodules so I tried esbuiids with node application. es modules works but now can not attach break points on TS file.
Expected Behavior
For ES Builds TS break points should work.
Github Repo
No response
Steps to Reproduce
--bundler=esbuild
)now
npx nx serve myAppES
add break points on typescript file. it won't worksame works for myAppWP
Nx Report
Failure Logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: