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
Not able to do local Lamba debugging on the Windows platform
What were you trying to accomplish?
Debugging Lambda on Windows platform
Expected Behavior
To work on the Windows platform
Current Behavior
Unable to do local Lambda debug
Possible Solution
In the code (cdk-wrapper.js) most (all) path separators are hardcoded ('/'), but on Windows they are '\'. A possible solution is to use path.sep which uses different values depending on the platform. As a quick workaround, I could use it by adding entry = entry.replaceAll('\', '/'); in cdk-wrapper.js right after entry initialization.
Steps to Reproduce (for bugs)
Try to run debugging of the Lambda
Environment
SAM Patterns CLI version: tried with 1.0.56 but looks like nothing is changes related to it in new (1.0.67) version
The text was updated successfully, but these errors were encountered:
Not able to do local Lamba debugging on the Windows platform
What were you trying to accomplish?
Debugging Lambda on Windows platform
Expected Behavior
To work on the Windows platform
Current Behavior
Unable to do local Lambda debug
Possible Solution
In the code (cdk-wrapper.js) most (all) path separators are hardcoded ('/'), but on Windows they are '\'. A possible solution is to use path.sep which uses different values depending on the platform. As a quick workaround, I could use it by adding entry = entry.replaceAll('\', '/'); in cdk-wrapper.js right after entry initialization.
Steps to Reproduce (for bugs)
Environment
The text was updated successfully, but these errors were encountered: