isNaN
14 November 2024 03:56
1
I fllow the official document: Debugging to open debug mode。but failed, the command line output as follows:
Windows PowerShell
版权所有(C) Microsoft Corporation。保留所有权利。
安装最新的 PowerShell,了解新功能和改进!https://aka.ms/PSWindows
PS C:\Users\etsme> docbuilder
USAGE: documentbuilder "path_to_script_file"
PS C:\Users\etsme> docbuilder script.docbuilder
error: cannot read run file
PS C:\Users\etsme> SET V8_USE_INSPECTOR=1
PS C:\Users\etsme> docbuilder script.docbuilder
error: cannot read run file
PS C:\Users\etsme> docbuilder --version
error: cannot read run file
PS C:\Users\etsme> docbuilder -v
v8.1.0.169
sdk version: 8.1.0 (build:169)
Roman
19 November 2024 14:58
2
Hello @isNaN ,
Make sure the following is correct:
You are running the command prompt or PowerShell as an administrator.
The file script.docbuilder actually exists in C:\Users\etsme.
isNaN
23 November 2024 06:29
3
Yes,docbuilder script file exists, the above code is show how i got the app version。the following is my test debug feature code.
I also tried the following code, and it did not output the expected debug link.
SET V8_USE_INSPECTOR=1\
docbuilder .\builder.scripts
Roman
29 November 2024 07:25
4
Hello @isNaN ,
As we can see, the file script.docbuilder
exists but is not located in the specified path for execution.
We recommend moving the script.docbuilder
file to the folder C:\Users\etsme
.
Otherwise, the script will not run because the file cannot be found when executing from the folder.
isNaN
2 December 2024 03:27
5
@ Roman thanks your replay. i have tried you solution, but it’s not work also.