We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d580651 commit 53854d4Copy full SHA for 53854d4
src/IotjsDebugger.ts
@@ -135,7 +135,7 @@ class IotjsDebugSession extends LoggingDebugSession {
135
const onWaitForSource = async () => {
136
this.log('onWaitForSource');
137
138
- if (args.program !== '') {
+ if (args.program !== '' && args.program !== '\0') {
139
if (Fs.existsSync(`${args.localRoot}/${args.program}`)) {
140
const content = Fs.readFileSync(`${args.localRoot}/${args.program}`, {
141
encoding: 'utf8',
src/extension.ts
@@ -58,7 +58,7 @@ const getListOfFiles = (): Array<string> => {
58
});
59
60
61
- return ['', ...wsFiles];
+ return ['\0', ...wsFiles];
62
};
63
64
const getProgramName = (): Thenable<string> => {
0 commit comments