New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
launch.json file #38
Comments
and what are these parameters in launch.json? are they mandatory? can be changed? |
Yes, the the launch.json file must be located inside the .vscode folder. This is just how VSCode works. The server details are currently initialized to static values (localhost, Navision_main, etc). This is done for easier setup on the gallery image, but may change in the future when the extension becomes globally available. About other parameters:
By the way, you can have multiple configurations in the launch.json file, see an example below. Then if you switch to Debug pane in VSCode (Ctrl+Shift+D), you would be able to select an active configuration in the top-left corner. {
"version": "0.2.0",
"configurations": [
{
"type": "al",
"request": "publish",
"name": "Publish to main",
"projectRoot": "${workspaceRoot}",
"packageFileName": "${command.resolvePackageFileName}",
"server": "http://localhost",
"serverInstance": "Navision_main",
"windowsAuthentication": true
},
{
"type": "al",
"request": "publish",
"name": "Publish to other server",
"projectRoot": "${workspaceRoot}",
"packageFileName": "${command.resolvePackageFileName}",
"server": "http://localhost",
"serverInstance": "Other",
"windowsAuthentication": true
}
]
} |
Is it mandatory to create launch.json file under vscode folder or can we create directly as other files? folder name also should be same vscode?
how does it know server details first time while creating launch.json file? what if we have multiple servicetiers?
The text was updated successfully, but these errors were encountered: