Skip to content

Fallback in launch.json #8196

@SBiernat

Description

@SBiernat

Please include the following with each issue:

1. Describe the bug
A clear and concise description of what the bug is.
When i have 2 Servers in my launch.json i get a message to decide to which server i would like to publish.
Normally "Run without debugging".
In the old days the system would fail with an error, when the chosen server is not available. But now, there is a fallback and VSCode is compiling again and want to publish against the other one.

2. To Reproduce
Steps to reproduce the behavior:

  1. Create a launch.json with 2 servers. (A and B)
  2. Stop Server A
  3. Create an app and "Run without Debug"
  4. Choose Server A

3. Expected behaviorA clear and concise description of what you expected to happen.
If Server A is not available or publish fail, the system should stop

4. Actual behavior
After failing Server A

Image

VSCode is trying to publish to Server B

Image

5. Versions:

  • AL Language: 17.0.2037090 / in 16.3 this problem doesn't occour and it is working as expected
  • Visual Studio Code: 1.108.2
  • Business Central: 27
  • List of Visual Studio Code extensions that you have installed: All disabled except AL Language extension
  • Operating System:
    • Windows
    • Linux
    • MacOS

Final Checklist

Please remember to do the following:

  • Search the issue repository to ensure you are reporting a new issue

  • Reproduce the issue after disabling all extensions except the AL Language extension

  • Simplify your code around the issue to better isolate the problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions