serverless-framework-offline

How to debug Serverless Offline in Visual Studio Code using another port?

拥有回忆 提交于 2019-12-07 07:30:46
问题 I have two Serverless Offline "servers" which I need to run locally at same time. So I need to change the port of one of the servers. I run a server using Visual Studio Code debugger. The configs of the servers are in launch.json files. How can I change the port of a Serverless Offline application so that I can run it in parallel with another Serverless Offline application using VS Code debugger? 回答1: If you are using windows, update the vscode launch.json and package.json as below : //

How to debug Serverless Offline in Visual Studio Code using another port?

南笙酒味 提交于 2019-12-05 14:22:52
I have two Serverless Offline "servers" which I need to run locally at same time. So I need to change the port of one of the servers. I run a server using Visual Studio Code debugger. The configs of the servers are in launch.json files. How can I change the port of a Serverless Offline application so that I can run it in parallel with another Serverless Offline application using VS Code debugger? If you are using windows, update the vscode launch.json and package.json as below : // launch.json { "version": "0.2.0", "configurations": [ { "type": "node", "request": "launch", "name": "Debug