Commit f0ef597
debugger: don't spawn child process in remote mode
When debug in remote mode with host:port or pid, the interface
spawn child process also. If the debugger agent is running, will
get following output:
```
< Error: listen EADDRINUSE :::5858
< at Object.exports._errnoException (util.js:734:11)
< at exports._exceptionWithHostPort (util.js:757:20)
< at Agent.Server._listen2 (net.js:1155:14)
< at listen (net.js:1181:10)
< at Agent.Server.listen (net.js:1268:5)
< at Object.start (_debug_agent.js:21:9)
< at startup (node.js:68:9)
< at node.js:799:3
```
This fix won't spawn child process and no more error message was
shown.
Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
PR-URL: nodejs/node-v0.x-archive#141721 parent c63a39b commit f0ef597
1 file changed
+19
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1627 | 1627 | | |
1628 | 1628 | | |
1629 | 1629 | | |
| 1630 | + | |
1630 | 1631 | | |
1631 | 1632 | | |
1632 | 1633 | | |
| |||
1635 | 1636 | | |
1636 | 1637 | | |
1637 | 1638 | | |
1638 | | - | |
1639 | | - | |
1640 | | - | |
1641 | | - | |
1642 | | - | |
| 1639 | + | |
1643 | 1640 | | |
1644 | 1641 | | |
1645 | 1642 | | |
1646 | 1643 | | |
1647 | | - | |
1648 | | - | |
1649 | | - | |
1650 | | - | |
1651 | | - | |
1652 | 1644 | | |
| 1645 | + | |
1653 | 1646 | | |
1654 | 1647 | | |
1655 | 1648 | | |
| |||
1661 | 1654 | | |
1662 | 1655 | | |
1663 | 1656 | | |
1664 | | - | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
1665 | 1660 | | |
1666 | | - | |
1667 | | - | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
1668 | 1664 | | |
1669 | 1665 | | |
1670 | 1666 | | |
| |||
1708 | 1704 | | |
1709 | 1705 | | |
1710 | 1706 | | |
1711 | | - | |
| 1707 | + | |
1712 | 1708 | | |
1713 | | - | |
| 1709 | + | |
| 1710 | + | |
1714 | 1711 | | |
1715 | 1712 | | |
1716 | 1713 | | |
| |||
1721 | 1718 | | |
1722 | 1719 | | |
1723 | 1720 | | |
1724 | | - | |
1725 | | - | |
1726 | | - | |
1727 | | - | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
1728 | 1727 | | |
1729 | | - | |
| 1728 | + | |
1730 | 1729 | | |
0 commit comments