question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for using Windows Subsystem Linux (WSL) SAM executable

See original GitHub issue

Is your feature request related to a problem? Please describe. PyCharm now supports using a WSL Python interpreter and WSL terminal. To complete the WSL development experience, I attempted to set the AWS Toolkit to use the SAM CLI executable from WSL under Settings -> Tools -> AWS -> SAM CLI executable: \\wsl$\Ubuntu-20.04\home\user\.local\bin\sam However, I am not able to save this configuration with the error: “Cannot Save Settings: Invalid sam executable: \wsl$\Ubuntu-20.04\home\user.local\bin\sam”

Describe the solution you’d like Support for using the SAM CLI executable in WSL for building, invoking locally, etc.

Describe alternatives you’ve considered The AWS Toolkit for VS Code in combination with Visual Studio Code Remote - WSL allows for using a SAM CLI executable in the remote development environment. I find the debugging tools and local Lambda invocation functionality to be much more mature in the AWS Toolkit for JetBrains and would prefer to use PyCharm over VS Code.

Additional context

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:19
  • Comments:18 (2 by maintainers)

github_iconTop GitHub Comments

7reactions
cameronwlewiscommented, Dec 17, 2020

+1 I would love to see this get fixed.

5reactions
piersgill312commented, Jun 2, 2021

Any news on this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

FAQ's about Windows Subsystem for Linux - WSL
Find answers to frequently asked questions (FAQs) about the Windows Subsystem for Linux, such as 'What can I do with WSL?'.
Read more >
Install Linux on Windows with WSL - Microsoft Learn
Install Windows Subsystem for Linux with the command, wsl --install. Use a Bash terminal on your Windows machine run by your preferred Linux...
Read more >
Troubleshooting Windows Subsystem for Linux | Microsoft Learn
Ensure that you have the Windows Subsystem for Linux enabled, and that you're using Windows Build version 18362 or later. To enable WSL...
Read more >
Developing on Amazon Linux 2 using Windows
The Windows Subsystem for Linux (WSL) lets users run Linux environment directly on Windows without the need of a traditional virtual machine ...
Read more >
Introducing Windows Subsystem For Linux (WSL) - Medium
The initial version was released nearly three years ago, on August 2, 2016, and it came with a Linux-compatible kernel interface developed by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found