How to set SLS_DEBUG?

Hi all, new here. I’ve tried and tried and not able to set SLS_DEBUT correctly, I currently use a .sh file in Jenkins to build…I’ve tried (along with Googling and searching here):

1, export SLS_DEBUG=true
yarn install && sls deploy --stage ${Environment}

2, export SLS_DEBUT=*
yarn install && sls deploy --stage ${Environment}

3, SLS_DEBUG=true yarn install && sls deploy --stage $(Environment}

4, SLS_DEBUG=* yarn install && sls deploy --stage $(Environment}

Thank you for the help.

try

yarn install && SLS_DEBUG=*  sls deploy --stage $(Environment}
1 Like

That works, thank you very much!