Hey, I have a problem with Live Lambda Debug. I'm ...
# sst
s
Hey, I have a problem with Live Lambda Debug. I'm using the launch.json provided in docs: https://docs.serverless-stack.com/live-lambda-development#debugging-with-visual-studio-code But when I Debug SST Start in VSCode it gets stuck indefinitely on Deploying Stacks... and I'm unable to hit any endpoints / routes and app falls over. Any ideas?
Copy code
"@serverless-stack/cli": "^0.69.3",
 "@serverless-stack/resources": "^0.69.3",
^^ package versions
Copy code
{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Debug SST Start",
      "type": "node",
      "request": "launch",
      "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/sst",
      "runtimeArgs": [
        "start",
        "--increase-timeout"
      ],
      "console": "integratedTerminal",
      "skipFiles": [
        "<node_internals>/**"
      ]
    },
    {
      "name": "Debug SST Tests",
      "type": "node",
      "request": "launch",
      "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/sst",
      "args": [
        "test",
        "--runInBand",
        "--no-cache",
        "--watchAll=false"
      ],
      "cwd": "${workspaceRoot}",
      "protocol": "inspector",
      "console": "integratedTerminal",
      "internalConsoleOptions": "neverOpen",
      "env": {
        "CI": "true"
      },
      "disableOptimisticBPs": true
    }
  ]
}
f
Hey @Sam Frampton
stuck indefinitely on Deploying Stacks...
That sounds like CloudFormation is taking long to deploy and
sst start
has not boot up yet (^ local is not ready to receive requests yet)
s
Hmm i'll try again but it's abnormally long time
f
When this happens again, can u go into AWS CloudFormation console and see what the statuses are for the stacks you are deploying?
s
using stage
sam-dev-4
& then in Cloudformation the stacks have status UPDATE_COMPLETE - I'm unable to trigger routes / Client not connected. Make sure "sst start" is running.
@Frank - I've left it for a while now - stacks seem okay to me and it's just stuck on deploying stacks in terminal. Anything else you recommend checking?