-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Haskell Debug Adapter. -- -- Please see README.md @package haskell-debug-adapter @version 0.0.36.0 module Haskell.Debug.Adapter.Control -- | Command Line Argument Data Type. data ArgData ArgData :: Maybe String -> Maybe FilePath -> ArgData -- | deprecated. [_hackageVersionArgData] :: ArgData -> Maybe String [_stdioLogFileArgData] :: ArgData -> Maybe FilePath -- | Start HDA. Default implementation is using STDIN/STDOUT handle. -- -- Here is an example for using TCP Socket. -- --
--   import Network.Socket
--   
--   sock <- socket AF_INET Stream defaultProtocol
--   let host = tupleToHostAddress (0, 0, 0, 0)
--       port = 9999
--       reqQ = 5
--   
--   bind sock $ SockAddrInet port host
--   listen sock reqQ
--   
--   (conn, _) <- accept sock
--   hdl <- socketToHandle conn ReadWriteMode
--   
--   run def hdl hdl
--   
-- -- Port 9999 could be specified in the launch.json with "debugServer" -- attribute. -- --
--   "debugServer : 9999"
--   
run :: ArgData -> Handle -> Handle -> IO ()