Visitar URL original
Vscode debug by franciscocpg · Pull Request #365 · serverless-heaven/serverless-webpack · GitHub
Skip to content

Vscode debug - #365

Merged
HyperBrain merged 5 commits into
serverless-heaven:masterfrom
franciscocpg:vscode-debug
Apr 6, 2018
Merged

HyperBrain merged 5 commits into
serverless-heaven:masterfrom
franciscocpg:vscode-debug

Conversation

@franciscocpg

@franciscocpg franciscocpg commented Apr 6, 2018 •

Copy link
Copy Markdown
Member

What did you implement:

Closes #364

How did you implement it:

Adding a .vscode/launch.json to provide debug feature using vscode.

How can we verify it:

  • Checkout this PR branc
  • go to babel-webpack-4 example folder
  • Run npm install
  • Try debugging it in vscode using all the provided configurations.

Todos:

  • Write tests
  • Write documentation
  • Fix linting errors
  • Make sure code coverage hasn't dropped
  • Provide verification config / commands / resources
  • Enable "Allow edits from maintainers" for this PR
  • Update the messages below

Is this ready for review?: YES
Is it a breaking change?: NO

Comment thread examples/babel-webpack-4/serverless.yml Outdated

# Add the serverless-webpack plugin
plugins:
- serverless-offline

@HyperBrain HyperBrain Apr 6, 2018 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this order should be reversed, shouldn't it? The sls-webpack hooks should precede the offline hooks internally.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It worked for me this way, but I realized that at README we state to use serverless-offline after serverless-webpack so I'm going to change it.

@HyperBrain HyperBrain left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for the good work as always 👍

@HyperBrain
HyperBrain merged commit 5cf2479 into serverless-heaven:master Apr 6, 2018
@franciscocpg
franciscocpg deleted the vscode-debug branch April 6, 2018 13:57
jamesmbourne pushed a commit to jamesmbourne/serverless-webpack that referenced this pull request Oct 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VSCode debugging

2 participants