ocket8888 commented on issue #4375: Debug TM, TO, TO Perl, or TR CDN-in-a-Box 
containers
URL: https://github.com/apache/trafficcontrol/pull/4375#issuecomment-613123838
 
 
   Well now I can get things to build and run, but I can't set breakpoints in 
TO. I tried to set one at [one of the steps in the `/ping` endpoint 
handler](https://github.com/apache/trafficcontrol/blob/master/traffic_ops/traffic_ops_golang/ping/ping.go#L31)
 as well as your suggested line in Profile.Read. Neither worked. Here's my 
config:
   ```json
   {
       "version": "0.2.0",
       "configurations": [
           {
               "name": "Launch",
               "type": "go",
               "request": "attach",
               "mode": "remote",
               "program": 
"/home/ocket8888/src/github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/",
               "remotePath": "/opt/traffic_ops/app/bin/traffic_ops_golang",
               "port": 2345,
               "host": "127.0.0.1",
               "showLog": true
           }
       ]
   }

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to