dishmaev / GoDebug

Go debugger (Delve) integration with Sublime Text 3
MIT License
25 stars 3 forks source link

Problems with debug start #3

Closed rgomids closed 6 years ago

rgomids commented 6 years ago

Every time, when I try to start the debug, my screen just flash the other views, but close immediately.

This is my .sublime-project:

{
    "folders":
    [
        {
            "folder_exclude_patterns":
            [
                "node_modules",
                ".pic"
            ],
            "path": "/home/rafael/Documents/Projects/KRS/Clientes/Terra Azul/physical_test-frontend"
        },
        {
            "path": "/home/rafael/go/src/physical_test-api"
        }
    ],
    "settings":
    {
        "delve_enable": true,
        "godebug_executables":
        {
            "debug":
            {
                "mode": "debug"
            },
            "test":
            {
                "mode": "test"
            }
        },
        "godebug_port": 7890,
        "mode": "debug",
        "host": "localhost",
        "port": "3456"

    }
}
dishmaev commented 6 years ago

Hi Rafael If actual, please tell me the version of the operating system, sublime 3, delve, golang

rgomids commented 6 years ago

Thanks. :smile: OS:

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:    18.04
Codename:   bionic

Sublime Text 3:

Version: 3.1.1, Build 3176

Delve:

Delve Debugger
Version: 1.1.0
Build: $Id: 1990ba12450cab9425a2ae62e6ab988725023d5c $

Go:

go version go1.9.2 linux/amd64
dishmaev commented 6 years ago

The test command ("mode": "test" in your .sublime-project) allows you to begin a new debug session in the context of your unit tests, see dlv test for details

If there are questions, I'm ready to answer them