Skip to content

open-network-stream: Wrong type argument: stringp, nil #7

Closed
@skybert

Description

@skybert

This looks like a cool extension for Emacs, but I cannot get it to work with remote debugging.

I've added this to my .emacs:

(use-package dap-java
  :config
  (dap-register-debug-provider
   "java"
   (lambda (conf)
     (plist-put conf :debugPort 5005)
     (plist-put conf :host "localhost")
     conf))
  (dap-register-debug-template "Example Configuration"
                             (list :type "java"
                                   :request "launch"
                                   :args ""
                                   :name "Run Configuration"))
  )

But upon running dap-debug, selecting this or any other debug template, I get:

open-network-stream: Wrong type argument: stringp, nil

Do you have any idea why?

My versions are:

dap-mode-20180909.1854
lsp-java-20180906.637
GNU Emacs 25.2.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2017-04-25

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions