Cannot debug serverless application in Visual Studio Code
I have tried to debug serverless application developed using serverless framework in VS code. I have followed this article. But when I trying to debug the code I'm getting an error from VS code as below. Cannot launch program 'g:\Projects\Serverless1\node_modules.bin\sls'; setting the 'outDir or outFiles' attribute might help. sls command file already exists in the folder and following are the launch.json file settings "version": "0.2.0", "configurations": [ { "type": "node", "request": "launch", "protocol": "inspector", "name": "run hello function", "program": "${workspaceRoot}\\node_modules\