Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

176
Views
vscode ssh develop Go cannot stop at breakpoint when code under /home/{username}/ floder

I have the remote develop problem. I want to ask for some advices to solve this problem.

  1. when my code under ~/ floder, debug cannot stop at breakpoints: case1-under home path

  2. when my code not under ~/ floder, debug normal! enter image description here

  3. I tried to debug C file under ~/ floder, no problem, can stop at breakpoint


Tried:

  1. I think if it is because of permission. so I run sudo chmod 777 ~/code, but not work.
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Check if, as I mentioned here, there is no symlink in the project settings.

For mac, make sure go env does not include (as in issue 2807), GOFLAGS="-trimpath"

The solution would be to add to your launch.json

remotePath": "/myapp/"
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!