Introduced the capability to launch the debug server in a separate process // Resolve #4722

This commit is contained in:
Ivan Kravets
2024-01-09 21:00:42 +02:00
parent 4729d9f55d
commit ba58db3079
8 changed files with 16 additions and 30 deletions
+1 -5
View File
@@ -16,6 +16,7 @@ from platformio.debug.config.base import DebugConfigBase
class MspdebugDebugConfig(DebugConfigBase):
DEFAULT_PORT = ":2000"
GDB_INIT_SCRIPT = """
define pio_reset_halt_target
end
@@ -29,8 +30,3 @@ $LOAD_CMDS
pio_reset_halt_target
$INIT_BREAK
"""
def __init__(self, *args, **kwargs):
if "port" not in kwargs:
kwargs["port"] = ":2000"
super().__init__(*args, **kwargs)