How to attach http service for debugging in EDT

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Interested
Rating: 32
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

Could you help me with the topic? I cant find any option to debug http services in EDT.

 
#2
People who like this:0Yes/0No
Interested
Rating: 16
Joined: Dec 4, 2017
Company:

Dear Alexey,

We plan to implement a more convenient way to debug HTTP services in next releases of EDT.

Now the way you debug HTTP services in EDT depends on your infobase deployment type:

If you have a file infobase:

1. Load the configuration project to the infobase.
2. Create a configuration for running an ordinary client application (say, the thin client) by specifying a particular port (for instance, 1551) on the Attach debug item tab.
3. Run the configuration.
It is a fake run of the thin client, which you only need to create the debugging process.
4. Configure the automatic attaching of the HTTP service type debug items.
5. Publish the web service and specify the debugger address in the publication as follows:
"localhost:1551" or "<network_host_name>:1551".
6. Call the HTTP service.


If you have a server infobase:

1. For the server, configure its debugging via HTTP protocol by using a particular port (for instance, 1551).
2. Publish the web service and specify the debugger address in the publication.
3. In EDT, connect to the remote debugging process.
4. Configure the automatic attaching of the HTTP service type debug items.
5. Call the HTTP service.

Best regards,
Vladimir Gurov

1C Company support team
 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.