forked from platformio/platformio-core
Disable GDB "startup-with-shell" only on Unix platform
This commit is contained in:
@ -12,6 +12,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
from platformio.compat import IS_WINDOWS
|
||||||
from platformio.debug.config.base import DebugConfigBase
|
from platformio.debug.config.base import DebugConfigBase
|
||||||
|
|
||||||
|
|
||||||
@ -28,5 +29,6 @@ define pio_restart_target
|
|||||||
end
|
end
|
||||||
|
|
||||||
$INIT_BREAK
|
$INIT_BREAK
|
||||||
set startup-with-shell off
|
""" + (
|
||||||
"""
|
"set startup-with-shell off" if not IS_WINDOWS else ""
|
||||||
|
)
|
||||||
|
Reference in New Issue
Block a user