AL
AL copied to clipboard
Multiroot workspace: add launch settings in user-settings or workspace-configuration
In a multiroot workspace, in VSCode, there's a launch.json per project. In documentation it says that you can add the launch settings in the user-settings or the workspace-configuration, but AL still looks for a launch.json in the .vscode folder?
Is it possible to get this working?
https://code.visualstudio.com/docs/editor/debugging (under“Launch Configuration”)
Setting up a multi-root workspace today I noticed this also. Happy enough I can share the ".alpackages" folder for each project. Only this issue bothers me.
Reproduce, add the following to AL.code-workspace file:
"launch": {
"version": "0.2.0",
"configurations": [
{
"name": "Microsoft cloud sandbox",
"request": "launch",
"type": "al",
"environmentType": "Sandbox",
"environmentName": "sandbox",
"breakOnError": "All",
"launchBrowser": true,
"enableLongRunningSqlStatements": true,
"enableSqlInformationDebugger": true
}
],
"compounds": []
}