Is your feature request related to a problem? Please describe.
A common way to debug issues is to test the same payload locally.
I don't use transpilation, just plain JS code, and I like being able to see correct line numbers in my callstacks, as it speeds debugging considerably. Would it be possible to add a cli option to skip bundling when invoking serverless invoke local, instead of having to change config all the time?
Describe the solution you'd like
Support a custom param to skip bundling.
sls invoke local -f myFunctionName --path test.json --param="bundle=false"
Is your feature request related to a problem? Please describe. A common way to debug issues is to test the same payload locally.
I don't use transpilation, just plain JS code, and I like being able to see correct line numbers in my callstacks, as it speeds debugging considerably. Would it be possible to add a cli option to skip bundling when invoking
serverless invoke local
, instead of having to change config all the time?Describe the solution you'd like Support a custom param to skip bundling.