Skip to content

Commit 9731dec

Browse files
committed
fixed debugger launching in console on windows
1 parent 740464e commit 9731dec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension/luaDebugSession.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ export class LuaDebugSession extends LoggingDebugSession {
213213
env: Object.assign({}, process.env),
214214
cwd,
215215
shell: true,
216-
detached: true
216+
detached: process.platform !== "win32"
217217
};
218218

219219
if (typeof this.config.env !== "undefined") {

0 commit comments

Comments
 (0)