Skip to content

Commit

Permalink
feat: enable vscode debugger with serverless-esbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
ixartz committed Apr 7, 2023
1 parent 4daef9b commit f641b94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
"sourceMaps": true,
"skipFiles": ["<node_internals>/**"],
"console": "integratedTerminal",
"sourceMapPathOverrides": {
"webpack:///../../../*": "${workspaceFolder}/*"
}
"outFiles": ["${workspaceFolder}/.esbuild/.build/**/*.js"]
}
]
}
1 change: 1 addition & 0 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ custom:
esbuild:
platform: "node"
target: node16
sourcemap: linked
serverless-offline:
httpPort: 4000
noPrependStageInUrl: true
Expand Down

0 comments on commit f641b94

Please sign in to comment.