AL icon indicating copy to clipboard operation
AL copied to clipboard

Multiroot workspace: add launch settings in user-settings or workspace-configuration

Open srenders opened this issue 5 years ago • 1 comments

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”)

srenders avatar Mar 03 '20 08:03 srenders

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": []
}

SebastiaanLubbers avatar Oct 05 '22 09:10 SebastiaanLubbers