angular / universal

Server-side rendering and Prerendering for Angular
MIT License
4.03k stars 482 forks source link

Issue when debug @nguniversal/builders:ssr-dev-server #3253

Closed luizluan closed 9 months ago

luizluan commented 9 months ago
          @tincho-despegar, here's the vs configuration needed.
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "type": "node",
            "request": "attach",
            "name": "Debug SSR Server",
            "port": 9229,
            "skipFiles": [
                "<node_internals>/**"
            ]
        }
    ]
}

To run the server application in inspect mode you can use the below;

yarn dev:ssr --inspect

Originally posted by @alan-agius4 in https://github.com/angular/universal/issues/1624#issuecomment-636724301

I try this and it worked, but i was unable to start the website on port 4200. The port 9229 returns me the error image image

How I can debug @nguniversal/builders:ssr-dev-server?

alan-agius4 commented 9 months ago

Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular-cli.

If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.

angular-automatic-lock-bot[bot] commented 8 months ago

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.