 R = require 'ramda'
+path = require 'path'
 kill = require 'tree-kill'
 Promise = require 'bluebird'
 {Client} = require '_debugger'

        nodePath = @atom.config.get('node-debugger.nodePath')
        appArgs = @atom.config.get('node-debugger.appArgs')
        port = @atom.config.get('node-debugger.debugPort')
        isCoffee = @atom.config.get('node-debugger.isCoffeeScript')

        appPath = @atom
          .workspace

          appArgs or ''
        ]

        logger.error 'spawn', dropEmpty(args)

        @process = childprocess.spawn nodePath, dropEmpty(args), {
          detached: true
          cwd: path.dirname(args[1])
        }

        @process.stdout.on 'data', (d) ->
