You need to sign in to do that
Don't have an account?
Hitesh chaudhari
how to check error in visual studio
How to check error in VS code as after deployment it is saying "Deploy failed [1,1]"
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
I hope you are doing well but make sure you have authorized your org with VS code.
You can install tools from the marketplace that will help you to find out the error and bugs:
- Apex Interactive Debugger
- Apex
- SalesforceDX Code Companion
You can follow these links for more help:
https://marketplace.visualstudio.com/items?itemName=salesforce.salesforcedx-vscode-apex
https://marketplace.visualstudio.com/items?itemName=MohithShrivastava.dx-code-companion
https://marketplace.visualstudio.com/items?itemName=salesforce.salesforcedx-vscode-apex-debugger
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi
Also I hover at error source : it is showing deploy failed.
Following is the code i am using :
In case you didn't set up your project correctly here are instructions that walk you through it.
http://https://forcedotcom.github.io/salesforcedx-vscode/articles/user-guide/org-development-model (http://https://forcedotcom.github.io/salesforcedx-vscode/articles/user-guide/org-development-model)