-
Notifications
You must be signed in to change notification settings - Fork 276
Description
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:
- Create a launch.json with 2 servers. (A and B)
- Stop Server A
- Create an app and "Run without Debug"
- 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
VSCode is trying to publish to Server B
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