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
Hiya. I'm trying to configure VSCode to debug locally and after a couple hours searching and testing I'm opening this ticket and pausing so I can get some guidance. I've added the webpack.functions.js file and referenced it in my script command, but using the --inspect flag throws the error:
Also, the Readme file has the following instructions but, unfortunately, I have no clue what it means or how I would enable this:
If using VSCode, it is likely that the sourceMapPathOverrides have to be adapted for breakpoints to work.
I think there's an assumption that I would be a more seasoned re: Node + Webpack, but I personally don't have much at all. I'm using Netlify to deploy a Vue.js app that leverages Functions as an API layer, so I know the Vue ecosystem way better than Node/Webpack/Lambda.
Having clearer documentation around this would be super helpful. Thank you guys so much for working on this product!
The text was updated successfully, but these errors were encountered:
hey! sorry you have so much trouble. that readme is mangled, that is my fault. it came from here #83 so @stefan-- may know better. i'll fix the readme.
as for you - what exactly are you trying to debug? lets get to the root cause here. are you trying to use a custom webpack config?
Hey @sw-yx thanks for the quick reply. It would be awesome to have a little more clarity in the docs. In regards to what I'm debugging, it has to do with my actual functions app and not with netlify-lambda itself. console.logging only goes so far, and I'm dealing nested async try/catch statements which is kind of confusing to me. Any help would be appreciated.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hiya. I'm trying to configure VSCode to debug locally and after a couple hours searching and testing I'm opening this ticket and pausing so I can get some guidance. I've added the
webpack.functions.js
file and referenced it in my script command, but using the--inspect
flag throws the error:(I'm using yarn v1.9.4 and netlify-lambda v1.4.5)
Also, the Readme file has the following instructions but, unfortunately, I have no clue what it means or how I would enable this:
I think there's an assumption that I would be a more seasoned re: Node + Webpack, but I personally don't have much at all. I'm using Netlify to deploy a Vue.js app that leverages Functions as an API layer, so I know the Vue ecosystem way better than Node/Webpack/Lambda.
Having clearer documentation around this would be super helpful. Thank you guys so much for working on this product!
The text was updated successfully, but these errors were encountered: