Debug Angular with Visual Studio Code

Pappas Alexandros 1 Reputation point
2023-10-24T11:48:09.1333333+00:00

I created a new project in Visual Studio 2022 with the template "ASP.NET Core with Angular". How can I debug the Angular Code with Visual Studio Code? The problem is, that when I start the project, the Angular app is also started, and I do not know how to attach Visual Studio Code to debug it.

Or is there a way to start only the ASP.NET app in Visual Studio 2022 and the ClientApp in Visual Studio Code?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,671 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 26,476 Reputation points Microsoft Vendor
    2023-10-24T13:59:31.86+00:00

    Hi @Pappas Alexandros

    Welcome to Microsoft Q&A!

    Visual Studio Code and Visual Studio are two different products. About Visual Studio Code, please post it to the GitHub-vscode forum where you would get professional support for this product.

    Thanks for your understanding.

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.