Skip to content
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

Debugging is broken with VS Code 1.60.0 #66

Open
buggy opened this issue Sep 10, 2021 · 5 comments
Open

Debugging is broken with VS Code 1.60.0 #66

buggy opened this issue Sep 10, 2021 · 5 comments
Labels
bug Something isn't working
Milestone

Comments

@buggy
Copy link
Collaborator

buggy commented Sep 10, 2021

It looks like VS Code 1.60.0 has made changes that have broken debugging. This needs to be fixed.

@buggy buggy added the bug Something isn't working label Sep 10, 2021
@buggy buggy added this to the v0.12.0 milestone Sep 10, 2021
buggy referenced this issue in baxneo/aws-sam-webpack-plugin Sep 10, 2021
StackToolbox#49 Add partial replace .vscode/launch.json
@buggy
Copy link
Collaborator Author

buggy commented Sep 10, 2021

It looks like VS Code 1.60.0 has problems. Debugging and source maps seem to be broken in general. I found an issue suggesting they might do a 1.60.1 release to fix this. Once that's done I'll look into debugging again.

@xdsl34
Copy link

xdsl34 commented Oct 25, 2021

Hi @buggy, is there any chance you were able to look into the problem?
Could you share the ticket you found?

@AndrewZelaya
Copy link

I think this was perhaps the issue previously referred to? microsoft/vscode#133310

@lee-wilkins
Copy link

If anyone else comes across this issue this post https://blog.many-monkeys.com/debugging-lambdas-in-vscode/ helped me solve the issue for any vsCode versions above 1.60

The key is modifying your output block in webpack.config as such

output: {
    devtoolModuleFilenameTemplate: '[absolute-resource-path]',
}

@akycop
Copy link

akycop commented Apr 28, 2024

If anyone else comes across this issue this post https://blog.many-monkeys.com/debugging-lambdas-in-vscode/ helped me solve the issue for any vsCode versions above 1.60

The key is modifying your output block in webpack.config as such

output: {
    devtoolModuleFilenameTemplate: '[absolute-resource-path]',
}

I tried it with Vscode 1.88.1 and it worked fine. Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants