Unable to D365BC server from Vscode editor

Hi All,

I’m not able to download symbols in Al code, it is showing below error, I’m using D365BC Wave 2 on local machine. below is the launch file and error.

Note : D65BC web client is working fine.

{
“version”: “0.2.0”,
“configurations”: [

{
“type”: “al”,
“request”: “launch”,
“name”: “Your own server”,
“port”:7049,
“server”: “http://localhost”,
“serverInstance”: “BC150”,
“authentication”: “Windows”,
“startupObjectId”: 22,
“startupObjectType”: “Page”,
“breakOnError”: true,
“launchBrowser”: true,
“enableLongRunningSqlStatements”: true,
“enableSqlInformationDebugger”: true
}
]
}

Error: Could not connect to the server. Please verify that:

  1. The server is started.
  2. The development endpoint is enabled (DeveloperServicesEnabled server setting).
  3. The service name matches the one specified in the URL.
  4. The port number matches the one specified in the URL (DeveloperServicesPort server setting).
  5. The protocol matches the one specified in the URL (DeveloperServicesSSLEnabled server setting), and that a trusted certificate is used in case of an SSL connection.
    [2019-11-16 20:53:17.27] Error: Could not connect to the server. Please verify that:
  6. The server is started.
  7. The development endpoint is enabled (DeveloperServicesEnabled server setting).
  8. The service name matches the one specified in the URL.
  9. The port number matches the one specified in the URL (DeveloperServicesPort server setting).
  10. The protocol matches the one specified in the URL (DeveloperServicesSSLEnabled server setting), and that a trusted certificate is used in case of an SSL connection.
    [2019-11-16 20:53:17.27] Error: Could not connect to the server. Please verify that:
  11. The server is started.
  12. The development endpoint is enabled (DeveloperServicesEnabled server setting).
  13. The service name matches the one specified in the URL.
  14. The port number matches the one specified in the URL (DeveloperServicesPort server setting).
  15. The protocol matches the one specified in the URL (DeveloperServicesSSLEnabled server setting), and that a trusted certificate is used in case of an SSL connection.

solved by 'Enable Developer Service Endpoint"

  1. Open BC administration shell,

  2. select your instance

  3. Go to development TAB

  4. Enable Enable Developer Service Endpoint

Thanks Man…i have also solved the same issue using above steps…